summaryrefslogtreecommitdiff
path: root/test/DebugInfo/Inputs
diff options
context:
space:
mode:
Diffstat (limited to 'test/DebugInfo/Inputs')
-rw-r--r--test/DebugInfo/Inputs/dwarfdump-line-dwo.cc10
-rw-r--r--test/DebugInfo/Inputs/dwarfdump-line-dwo.elf-x86-64bin0 -> 1377 bytes
2 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 0000000000..2784ae24ee
--- /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>
diff --git a/test/DebugInfo/Inputs/dwarfdump-line-dwo.elf-x86-64 b/test/DebugInfo/Inputs/dwarfdump-line-dwo.elf-x86-64
new file mode 100644
index 0000000000..9f1d267dde
--- /dev/null
+++ b/test/DebugInfo/Inputs/dwarfdump-line-dwo.elf-x86-64
Binary files differ