summaryrefslogtreecommitdiffstats
path: root/test/DebugInfo/Inputs/dwarfdump-line-dwo.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/DebugInfo/Inputs/dwarfdump-line-dwo.cc')
-rw-r--r--test/DebugInfo/Inputs/dwarfdump-line-dwo.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/DebugInfo/Inputs/dwarfdump-line-dwo.cc b/test/DebugInfo/Inputs/dwarfdump-line-dwo.cc
new file mode 100644
index 0000000..2784ae2
--- /dev/null
+++ b/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>