bolt/deps/llvm-18.1.8/lldb/test/API/macosx/indirect_symbol/main.c

15 lines
394 B
C
Raw Normal View History

2025-02-14 19:21:04 +01:00
extern int call_through_indirect(int);
extern int reexport_to_indirect(int);
int
main ()
{
int indirect_result = call_through_indirect(20); // Set breakpoint here to step in indirect.
indirect_result = call_through_indirect(30);
int reexport_result = reexport_to_indirect (20); // Set breakpoint here to step in reexported.
reexport_result = reexport_to_indirect (30);
return 0;
}