summaryrefslogtreecommitdiffstats
path: root/lldb/lit/Modules/ELF/Inputs/load-from-dynsym-alone.c
blob: d3f69b262e56b8659f075119172ed7ab8f2191d0 (plain)
1
2
3
4
5
6
7
// This function will be embedded within the .dynsym section of the main binary.
int functionInDynsym(int num) { return num * 3; }

int main(int argc, char *argv[]) {
  int y = functionInDynsym(argc);
  return y;
}
OpenPOWER on IntegriCloud