diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:48:50 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:48:50 +0000 |
| commit | 1c98619801a5705c688e683be3ef9d70169a0686 (patch) | |
| tree | 8422105cd1a94c368315f2db16b9ac746cf7c000 /test/ELF/ehframe-relocation.s | |
| parent | f4f3ce4613680903220815690ad79fc7ba0a2e26 (diff) | |
Notes
Diffstat (limited to 'test/ELF/ehframe-relocation.s')
| -rw-r--r-- | test/ELF/ehframe-relocation.s | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/ELF/ehframe-relocation.s b/test/ELF/ehframe-relocation.s index f952ebc60865..8d5e14919e92 100644 --- a/test/ELF/ehframe-relocation.s +++ b/test/ELF/ehframe-relocation.s @@ -1,17 +1,19 @@ // REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o -// RUN: ld.lld %t.o -o %t +// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/ehframe-relocation.s -o %t2.o +// RUN: ld.lld %t.o %t2.o -o %t // RUN: llvm-readobj -s %t | FileCheck %s // RUN: llvm-objdump -d %t | FileCheck --check-prefix=DISASM %s // CHECK: Name: .eh_frame -// CHECK-NEXT: Type: SHT_X86_64_UNWIND +// CHECK-NEXT: Type: SHT_PROGBITS // CHECK-NEXT: Flags [ // CHECK-NEXT: SHF_ALLOC // CHECK-NEXT: ] // CHECK-NEXT: Address: 0x10120 // CHECK-NEXT: Offset: -// CHECK-NEXT: Size: 0 +// CHECK-NEXT: Size: 48 +// CHECK-NOT: .eh_frame // 0x10120 = 65824 // 0x10120 + 5 = 65829 |
