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 954d00e87cdd77d0e9e367be52e62340467bd779 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
}