Logo
Explore Help
Sign In
mirrors/llvm-project
0
0
Fork 0
You've already forked llvm-project
mirror of https://github.com/llvm/llvm-project.git synced 2025-05-12 03:26:08 +00:00
Code Issues Projects Releases Wiki Activity
llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/set-data/main.m

20 lines
369 B
Mathematica
Raw Normal View History

Added a SetData() method to ValueObject. This 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
2013-04-13 01:21:23 +00:00
#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
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 1414ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API