Files
Dave Lee 0d3e514792 [lldb] Enable caching for BytecodeSyntheticChildren::FrontEnd::Update (#181199)
Update `BytecodeSyntheticChildren` to support `ChildCacheState` return
values from `@update` implementations.
2026-03-26 14:39:58 -07:00

32 lines
928 B
C++

struct Account {
char *username;
char *password;
};
void stop() {}
int main(int argc, char **argv) {
struct Account acc;
acc.username = "jake";
acc.password = "popcorn";
stop(); // break here
return 0;
}
__attribute__((used, section("__DATA_CONST,__lldbformatters"))) unsigned char
_Account_synthetic[] =
"\x01" // version
"\x16" // remaining record size
"\x07" // type name size
"Account" // type name
"\x00" // flags
"\x06" // sig_update
"\x02" // program size
"\x20\x01" // `return eReuse`
"\x02" // sig_get_num_children
"\x02" // program size
"\x20\x01" // `return 1`
"\x04" // sig_get_child_at_index
"\x03" // program size
"\x23\x11\x60"; // `return self.valobj.GetChildAtIndex(idx)`