lets a ValueObject's contents be set from raw data. This has certain limitations (notably, registers can only be set to data that is as large as the register) but will be useful for the new Materializer. I also exposed this interface through SBValue. I have added a testcase that exercises various special cases of SBValue::SetData(). llvm-svn: 179437
20 lines
369 B
Objective-C
20 lines
369 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
int main ()
|
|
{
|
|
@autoreleasepool
|
|
{
|
|
struct foo {
|
|
int x;
|
|
int y;
|
|
} myFoo;
|
|
|
|
myFoo.x = 2;
|
|
myFoo.y = 3; // First breakpoint
|
|
|
|
NSString *string = [NSString stringWithFormat:@"%s", "Hello world!"];
|
|
|
|
NSLog(@"%d %@", myFoo.x, string); // Second breakpoint
|
|
}
|
|
}
|