1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/DebugInfo/Inputs/split-dwarf-test.cpp
David Blaikie 2f713860f5 Migrate llvm-symbolizer tests to not use %T
(context around the %T removal here: https://reviews.llvm.org/D35396 )

llvm-svn: 312828
2017-09-08 21:10:01 +00:00

14 lines
377 B
C++

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