From: David Blaikie Date: Sat, 22 Apr 2017 08:17:39 +0000 (+0000) Subject: Fix test to handle .rel and .rela sections (& to actually specify the target architec... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae37bc3170d37662526df90e1bfb01d845f5e502;p=llvm Fix test to handle .rel and .rela sections (& to actually specify the target architecture as X86) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301073 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/DebugInfo/X86/split-dwarf-cross-unit-reference.ll b/test/DebugInfo/X86/split-dwarf-cross-unit-reference.ll index 89222596a6d..c6f0afa2793 100644 --- a/test/DebugInfo/X86/split-dwarf-cross-unit-reference.ll +++ b/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