diff options
author | Eric Christopher <echristo@gmail.com> | 2012-12-27 01:07:07 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2012-12-27 01:07:07 +0000 |
commit | 32b3768ec1ae95cb05d1f595d31761c510c43251 (patch) | |
tree | 83fe4e23d856304392ba9b04ef62b642a228065c /test/DebugInfo/X86/2010-08-10-DbgConstant.ll | |
parent | 5dd839430c1dbce6cd35dc44f68718a1fc69bfba (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171126 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/X86/2010-08-10-DbgConstant.ll')
-rw-r--r-- | test/DebugInfo/X86/2010-08-10-DbgConstant.ll | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/DebugInfo/X86/2010-08-10-DbgConstant.ll b/test/DebugInfo/X86/2010-08-10-DbgConstant.ll index b3cc35d723..78f8750995 100644 --- a/test/DebugInfo/X86/2010-08-10-DbgConstant.ll +++ b/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: |