1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Fix test to handle .rel and .rela sections (& to actually specify the target architecture as X86)

llvm-svn: 301073
This commit is contained in:
David Blaikie 2017-04-22 08:17:39 +00:00
parent aaed87c043
commit 00cadb2731

View File

@ -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