Files
clang-p2996/lldb/test/API/macosx/delay-init-dependency/main.c
Jason Molenda 1934208132 [lldb] NFC add comments and test case for ObjectFileMachO delay-init (#95067)
Add comments and a test for delay-init libraries on macOS. I originally
added the support in 954d00e87c a month
ago, but without these additional clarifications.

rdar://126885033
2024-06-10 20:33:38 -07:00

10 lines
181 B
C

int foo();
int main(int argc, char **argv) {
int retval = 0;
// Only call foo() if one argument is passed
if (argc == 2)
retval = foo();
return retval; // break here
}