aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/macosx/indirect_symbol/main.c
blob: b5af058d00b1c6f3be2f67ebe5582cb3f72f9784 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;
}