Files
clang-p2996/llvm/test/tools/llvm-symbolizer/Inputs/split-dwarf-test.cpp
David Blaikie 79c3d8b127 llvm-symbolizer: Extract individual test cases now that it's easier to use directly (without a piped input file)
Pulling out the split-dwarf tests by way of example of how I think
llvm-symbolizer should be tested going forward. Open to
debate/discussion, though.

llvm-svn: 352004
2019-01-24 01:19:17 +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