xref: /llvm-project/lldb/test/Shell/ObjectFile/ELF/Inputs/minidebuginfo-main.c (revision 87aa9c9e4d41ed881453e2fab85b3d25f648bb55)
1 // This function will be embedded within the .symtab section of the
2 // .gnu_debugdata section.
multiplyByFour(int num)3 int multiplyByFour(int num) { return num * 4; }
4 
5 // This function will be embedded within the .dynsym section of the main binary.
multiplyByThree(int num)6 int multiplyByThree(int num) { return num * 3; }
7 
main(int argc,char * argv[])8 int main(int argc, char *argv[]) {
9   int x = multiplyByThree(argc);
10   int y = multiplyByFour(x);
11   return y;
12 }
13