diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2019-02-19 15:17:43 +0000 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2019-02-19 15:17:43 +0000 |
commit | 37a1d6eca3bc60725c1b6547b839e669a9775c1d (patch) | |
tree | 65b07476f96d096336221ec522c0a2b5329d421d | |
parent | 0621b795878c1105f2aff097e6a217c700676540 (diff) | |
download | bcm5719-llvm-37a1d6eca3bc60725c1b6547b839e669a9775c1d.tar.gz bcm5719-llvm-37a1d6eca3bc60725c1b6547b839e669a9775c1d.zip |
Convert the eh-frame-hdr-abs-fde.s test to use x86 as a target architecture
The test checks common functionality. Let's use `x86` (generic LLD target)
as a target architecture.
llvm-svn: 354336
-rw-r--r-- | lld/test/ELF/eh-frame-hdr-abs-fde.s | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lld/test/ELF/eh-frame-hdr-abs-fde.s b/lld/test/ELF/eh-frame-hdr-abs-fde.s index 7f75058d4b3..d597ee94b46 100644 --- a/lld/test/ELF/eh-frame-hdr-abs-fde.s +++ b/lld/test/ELF/eh-frame-hdr-abs-fde.s @@ -1,23 +1,23 @@ -# REQUIRES: mips +# REQUIRES: x86 # Check reading PC values of FDEs and writing lookup table in the .eh_frame_hdr # if CIE augmentation string has 'L' token and PC values are encoded using # absolute (not relative) format. -# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t.o +# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux %s -o %t.o # RUN: ld.lld --eh-frame-hdr %t.o -o %t # RUN: llvm-objdump -s -dwarf=frames %t | FileCheck %s # CHECK: Contents of section .eh_frame_hdr: -# CHECK-NEXT: 10128 011b033b 00000010 00000001 0000fed8 -# ^-- 0x20000 - 0x10138 -# .text - .eh_frame_hdr -# CHECK-NEXT: 10138 0000002c +# CHECK-NEXT: 200190 011b033b 14000000 01000000 700e0000 +# ^-- 0x201000 - 0x200190 +# .text - .eh_frame_hdr +# CHECK-NEXT: 2001a0 30000000 # CHECK: Contents of section .text: -# CHECK-NEXT: 20000 00000000 +# CHECK-NEXT: 201000 90 # CHECK: Augmentation: "zLR" -# CHECK: Augmentation data: 00 0B -# ^-- DW_EH_PE_udata4 | DW_EH_PE_signed +# CHECK: Augmentation data: 00 1B +# ^-- DW_EH_PE_pcrel | DW_EH_PE_udata4 | DW_EH_PE_signed .text .globl __start |