summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2017-04-22 08:17:39 +0000
committerDavid Blaikie <dblaikie@gmail.com>2017-04-22 08:17:39 +0000
commit5477b97d45fb0e53d0aabee55ec4bddbf59eb83a (patch)
tree3a698c2c34e277ac1cdf2bf1b29fb3cc17498438
parent85366acf15bdcc48a36457513c2bd317a2078a60 (diff)
downloadbcm5719-llvm-5477b97d45fb0e53d0aabee55ec4bddbf59eb83a.tar.gz
bcm5719-llvm-5477b97d45fb0e53d0aabee55ec4bddbf59eb83a.zip
Fix test to handle .rel and .rela sections (& to actually specify the target architecture as X86)
llvm-svn: 301073
-rw-r--r--llvm/test/DebugInfo/X86/split-dwarf-cross-unit-reference.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/DebugInfo/X86/split-dwarf-cross-unit-reference.ll b/llvm/test/DebugInfo/X86/split-dwarf-cross-unit-reference.ll
index 89222596a6d..c6f0afa2793 100644
--- a/llvm/test/DebugInfo/X86/split-dwarf-cross-unit-reference.ll
+++ b/llvm/test/DebugInfo/X86/split-dwarf-cross-unit-reference.ll
@@ -1,13 +1,13 @@
-; RUN: llc -split-dwarf-file=foo.dwo -filetype=obj -o - < %s | llvm-objdump -r - | FileCheck %s
+; RUN: llc -mtriple=x86_64-linux -split-dwarf-file=foo.dwo -filetype=obj -o - < %s | llvm-objdump -r - | FileCheck %s
-; CHECK-NOT: .rela.debug_info.dwo
-; CHECK: RELOCATION RECORDS FOR [.rela.debug_info]:
+; CHECK-NOT: .rel{{a?}}.debug_info.dwo
+; CHECK: RELOCATION RECORDS FOR [.rel{{a?}}.debug_info]:
; CHECK-NOT: RELOCATION RECORDS
; Expect one relocation in debug_info, between f3 and f1.
; CHECK: R_X86_64_32 .debug_info
; CHECK-NOT: .debug_info
; CHECK: RELOCATION RECORDS
-; CHECK-NOT: .rela.debug_info.dwo
+; CHECK-NOT: .rel{{a?}}.debug_info.dwo
; Function Attrs: noinline nounwind optnone uwtable
OpenPOWER on IntegriCloud