summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/Inputs/dwarfdump-test4-part1.cc
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-02-08 14:34:33 +0000
committerAlexey Samsonov <samsonov@google.com>2013-02-08 14:34:33 +0000
commit897f2cf408c9522187b3a375e201bdf6938f404f (patch)
tree31fd96868df628372367634925f6681d5d7a900d /llvm/test/DebugInfo/Inputs/dwarfdump-test4-part1.cc
parent0b805cc75cf2397c9fce9cf47ac728e88fb3185b (diff)
downloadbcm5719-llvm-897f2cf408c9522187b3a375e201bdf6938f404f.tar.gz
bcm5719-llvm-897f2cf408c9522187b3a375e201bdf6938f404f.zip
Update tests for DWARF parser: store sources next to pre-built object files and provide build instructions
llvm-svn: 174711
Diffstat (limited to 'llvm/test/DebugInfo/Inputs/dwarfdump-test4-part1.cc')
-rw-r--r--llvm/test/DebugInfo/Inputs/dwarfdump-test4-part1.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/Inputs/dwarfdump-test4-part1.cc b/llvm/test/DebugInfo/Inputs/dwarfdump-test4-part1.cc
new file mode 100644
index 00000000000..94a818cddd5
--- /dev/null
+++ b/llvm/test/DebugInfo/Inputs/dwarfdump-test4-part1.cc
@@ -0,0 +1,8 @@
+#include "dwarfdump-test4-decl.h"
+int c(){a();}
+
+// Built with gcc 4.6.3
+// $ mkdir -p /tmp/dbginfo
+// $ cp dwarfdump-test4-*.* /tmp/dbginfo
+// $ cd /tmp/dbginfo
+// $ gcc -fPIC -shared -g dwarfdump-test4-part*.cc -o <output>
OpenPOWER on IntegriCloud