[llvm] r304080 - DebugInfo: Add source code/build instructions for split-dwarf-dwp symbolizer test
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Sat May 27 12:52:20 PDT 2017
Author: dblaikie
Date: Sat May 27 14:52:20 2017
New Revision: 304080
URL: http://llvm.org/viewvc/llvm-project?rev=304080&view=rev
Log:
DebugInfo: Add source code/build instructions for split-dwarf-dwp symbolizer test
Addressing post-commit code review feedback from Paul Robinson on
r303609.
Added:
llvm/trunk/test/DebugInfo/Inputs/split-dwarf-dwp.cpp
Added: llvm/trunk/test/DebugInfo/Inputs/split-dwarf-dwp.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/Inputs/split-dwarf-dwp.cpp?rev=304080&view=auto
==============================================================================
--- llvm/trunk/test/DebugInfo/Inputs/split-dwarf-dwp.cpp (added)
+++ llvm/trunk/test/DebugInfo/Inputs/split-dwarf-dwp.cpp Sat May 27 14:52:20 2017
@@ -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
More information about the llvm-commits
mailing list