summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/Inputs/dwarfdump-line-dwo.cc
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-02-24 23:58:54 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-02-24 23:58:54 +0000
commit1d4736e0b10c28221a0d7007d45a1725de7be14a (patch)
tree4aec673cd7bc0a91b023baa321705b84c55a13a0 /llvm/test/DebugInfo/Inputs/dwarfdump-line-dwo.cc
parent509fe8fd63669ec89e82be63eb7e80a682db4eac (diff)
downloadbcm5719-llvm-1d4736e0b10c28221a0d7007d45a1725de7be14a.tar.gz
bcm5719-llvm-1d4736e0b10c28221a0d7007d45a1725de7be14a.zip
llvm-dwarfdump: Support for debug_line.dwo section for file names for type units under fission.
llvm-svn: 202091
Diffstat (limited to 'llvm/test/DebugInfo/Inputs/dwarfdump-line-dwo.cc')
-rw-r--r--llvm/test/DebugInfo/Inputs/dwarfdump-line-dwo.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/Inputs/dwarfdump-line-dwo.cc b/llvm/test/DebugInfo/Inputs/dwarfdump-line-dwo.cc
new file mode 100644
index 00000000000..2784ae24ee5
--- /dev/null
+++ b/llvm/test/DebugInfo/Inputs/dwarfdump-line-dwo.cc
@@ -0,0 +1,10 @@
+struct foo {
+};
+
+foo f;
+
+// Built with GCC
+// $ mkdir -p /tmp/dbginfo
+// $ cp dwarfdump-line-dwo.cc /tmp/dbginfo
+// $ cd /tmp/dbginfo
+// $ g++ -c -fdebug-types-section dwarfdump-line-dwo.cc -o <output>
OpenPOWER on IntegriCloud