mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
DebugInfo: Add source code/build instructions for split-dwarf-dwp symbolizer test
Addressing post-commit code review feedback from Paul Robinson on r303609. llvm-svn: 304080
This commit is contained in:
parent
8c06a19db2
commit
84a831ba73
12
test/DebugInfo/Inputs/split-dwarf-dwp.cpp
Normal file
12
test/DebugInfo/Inputs/split-dwarf-dwp.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
void f1();
|
||||
__attribute__((always_inline)) void f2() {
|
||||
f1();
|
||||
}
|
||||
void f3() {
|
||||
f2();
|
||||
}
|
||||
|
||||
To produce split-dwarf-dwp.o{,dwp}, run:
|
||||
|
||||
$ clang++ split-dwarf-dwp.cpp -gsplit-dwarf -c -Xclang -fdebug-compilation-dir=Output -fno-split-dwarf-inlining
|
||||
$ llvm-dwp split-dwarf-dwp.dwo -o split-dwarf-dwp.o.dwp
|
Loading…
Reference in New Issue
Block a user