summaryrefslogtreecommitdiff
path: root/test/DebugInfo/Inputs
diff options
context:
space:
mode:
authorWill Dietz <wdietz2@illinois.edu>2013-10-30 20:27:17 +0000
committerWill Dietz <wdietz2@illinois.edu>2013-10-30 20:27:17 +0000
commitb7b1abef251fb0ec2716ca7837cb2ffc3d6ae961 (patch)
tree326b06b61bf4b13800b3b1b63cd37b4f09cfdded /test/DebugInfo/Inputs
parentb7ff48e3744a3a9800c65afddfc004977b8102b5 (diff)
downloadllvm-b7b1abef251fb0ec2716ca7837cb2ffc3d6ae961.tar.gz
llvm-b7b1abef251fb0ec2716ca7837cb2ffc3d6ae961.tar.bz2
llvm-b7b1abef251fb0ec2716ca7837cb2ffc3d6ae961.tar.xz
Add DebugInfo testcase for high_pc encoded as constant, fixed in r193555.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193711 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/Inputs')
-rw-r--r--test/DebugInfo/Inputs/dwarfdump-inl-test.cc3
-rwxr-xr-xtest/DebugInfo/Inputs/dwarfdump-inl-test.high_pc.elf-x86-64bin0 -> 7422 bytes
2 files changed, 3 insertions, 0 deletions
diff --git a/test/DebugInfo/Inputs/dwarfdump-inl-test.cc b/test/DebugInfo/Inputs/dwarfdump-inl-test.cc
index 8ffbb528f2..edf956d321 100644
--- a/test/DebugInfo/Inputs/dwarfdump-inl-test.cc
+++ b/test/DebugInfo/Inputs/dwarfdump-inl-test.cc
@@ -13,3 +13,6 @@ int main() {
// $ cp dwarfdump-inl-test.* /tmp/dbginfo
// $ cd /tmp/dbginfo
// $ clang++ -O2 -gline-tables-only -fsanitize=address -fPIC -shared dwarfdump-inl-test.cc -o <output>
+//
+// And similarly with with gcc 4.8.2:
+// $ gcc dwarfdump-inl-test.cc -o dwarfdump-inl-test.high_pc.elf-x86-64 -g -O2 -fPIC -shared
diff --git a/test/DebugInfo/Inputs/dwarfdump-inl-test.high_pc.elf-x86-64 b/test/DebugInfo/Inputs/dwarfdump-inl-test.high_pc.elf-x86-64
new file mode 100755
index 0000000000..f108861bec
--- /dev/null
+++ b/test/DebugInfo/Inputs/dwarfdump-inl-test.high_pc.elf-x86-64
Binary files differ