summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/X86
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2012-12-27 01:07:07 +0000
committerEric Christopher <echristo@gmail.com>2012-12-27 01:07:07 +0000
commit5a6acfa4c848a67bb60cffa52504c3e35f0a280e (patch)
tree013ad08558fcf4f5e64def53a92751ac64958f40 /llvm/test/DebugInfo/X86
parentb3cb257b8b0e9d85bd3315e635c51b0bbde6117e (diff)
downloadbcm5719-llvm-5a6acfa4c848a67bb60cffa52504c3e35f0a280e.tar.gz
bcm5719-llvm-5a6acfa4c848a67bb60cffa52504c3e35f0a280e.zip
Right now all of the relocations are 32-bit dwarf, and the relocation
information doesn't return an addend for Rel relocations. Go ahead and use this information to fix relocation handling inside dwarfdump for 32-bit ELF REL. llvm-svn: 171126
Diffstat (limited to 'llvm/test/DebugInfo/X86')
-rw-r--r--llvm/test/DebugInfo/X86/2010-08-10-DbgConstant.ll7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/test/DebugInfo/X86/2010-08-10-DbgConstant.ll b/llvm/test/DebugInfo/X86/2010-08-10-DbgConstant.ll
index b3cc35d723f..78f87509953 100644
--- a/llvm/test/DebugInfo/X86/2010-08-10-DbgConstant.ll
+++ b/llvm/test/DebugInfo/X86/2010-08-10-DbgConstant.ll
@@ -1,6 +1,7 @@
-; RUN: llc -mtriple=i686-linux -O0 < %s | FileCheck %s
-; CHECK: DW_TAG_constant
-; CHECK-NEXT: .long .Lstring3 #{{#?}} DW_AT_name
+; RUN: llc -mtriple=i686-linux -O0 -filetype=obj -o %t %s
+; RUN: llvm-dwarfdump %t | FileCheck %s
+; CHECK: DW_TAG_constant [4]
+; CHECK-NEXT: DW_AT_name [DW_FORM_strp] ( .debug_str[0x0000002c] = "ro")
define void @foo() nounwind ssp {
entry:
OpenPOWER on IntegriCloud