bolt/deps/llvm-18.1.8/llvm/test/DebugInfo/Inputs/dwarfdump-test2-main.cc
2025-02-14 19:21:04 +01:00

11 lines
269 B
C++

extern "C" int a();
int main() {
return a();
}
// Built with gcc 4.6.3
// $ mkdir -p /tmp/dbginfo
// $ cp dwarfdump-test2-helper.cc dwarfdump-test2-main.cc /tmp/dbginfo/
// $ cd /tmp/dbginfo
// $ g++ -g dwarfdump-test2-helper.cc dwarfdump-test2-main.cc -o <output>