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
This commit is contained in:
Simon Atanasyan 2019-02-19 15:17:43 +00:00
parent 0621b79587
commit 37a1d6eca3
1 changed files with 9 additions and 9 deletions

View File

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