[lld] r354336 - Convert the eh-frame-hdr-abs-fde.s test to use x86 as a target architecture
Simon Atanasyan via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 19 07:17:43 PST 2019
Author: atanasyan
Date: Tue Feb 19 07:17:43 2019
New Revision: 354336
URL: http://llvm.org/viewvc/llvm-project?rev=354336&view=rev
Log:
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.
Modified:
lld/trunk/test/ELF/eh-frame-hdr-abs-fde.s
Modified: lld/trunk/test/ELF/eh-frame-hdr-abs-fde.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/eh-frame-hdr-abs-fde.s?rev=354336&r1=354335&r2=354336&view=diff
==============================================================================
--- lld/trunk/test/ELF/eh-frame-hdr-abs-fde.s (original)
+++ lld/trunk/test/ELF/eh-frame-hdr-abs-fde.s Tue Feb 19 07:17:43 2019
@@ -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
More information about the llvm-commits
mailing list