llvm-for-llvmta/test/tools/llvm-symbolizer/Inputs/split-dwarf-test.cpp

14 lines
377 B
C++
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
void f1() {}
__attribute__((always_inline)) inline void f2() {
f1();
}
int main() {
f2();
}
// $ clang++ split-dwarf-test.cpp -gsplit-dwarf -Xclang \
// -fdebug-compilation-dir -Xclang . -o split-dwarf-test
// $ clang++ split-dwarf-test.cpp -gsplit-dwarf -Xclang \
// -fdebug-compilation-dir -Xclang . -fno-split-dwarf-inlining \
// -o split-dwarf-test-nogmlt