Files
clang-p2996/lldb/test/Shell/ObjectFile/ELF/Inputs/minidebuginfo-main.c
Jonas Devlieghere 87aa9c9e4d Re-land "[test] Split LLDB tests into API, Shell & Unit"
The original patch got reverted because it broke `check-lldb` on a clean
build. This fixes that.

llvm-svn: 374201
2019-10-09 19:22:02 +00:00

13 lines
386 B
C

// This function will be embedded within the .symtab section of the
// .gnu_debugdata section.
int multiplyByFour(int num) { return num * 4; }
// This function will be embedded within the .dynsym section of the main binary.
int multiplyByThree(int num) { return num * 3; }
int main(int argc, char *argv[]) {
int x = multiplyByThree(argc);
int y = multiplyByFour(x);
return y;
}