blob: c2e5ec63f8653add88d31fb906984132394fdef5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
# RUN: ld.lld -r %t.o %t.o -o %t
# RUN: llvm-readobj -r %t | FileCheck %s
# RUN: ld.lld %t -o %t.so -shared
# RUN: llvm-objdump -h %t.so | FileCheck --check-prefix=DSO %s
# DSO: .eh_frame 00000030
# CHECK: Relocations [
# CHECK-NEXT: Section ({{.*}}) .rela.eh_frame {
# CHECK-NEXT: 0x20 R_X86_64_PC32 .foo 0x0
# CHECK-NEXT: 0x50 R_X86_64_NONE - 0x0
# CHECK-NEXT: }
# CHECK-NEXT: ]
.section .foo,"aG",@progbits,bar,comdat
.cfi_startproc
.cfi_endproc
|