[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / eh-frame-hdr-comdat.s
blobe28d3c7dd229dde5f6e7654204862843cc7e2ce1
1 # REQUIRES: x86
3 # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t
4 # RUN: ld.lld %t %t -o %t2 --eh-frame-hdr
5 # RUN: llvm-readelf -u --symbols %t2 | FileCheck %s
7 # CHECK: EHFrameHeader {
8 # CHECK-NEXT: Address:
9 # CHECK-NEXT: Offset:
10 # CHECK-NEXT: Size: 0x14
11 # CHECK-NEXT: Corresponding Section: .eh_frame_hdr
12 # CHECK-NEXT: Header {
13 # CHECK-NEXT: version: 1
14 # CHECK-NEXT: eh_frame_ptr_enc:
15 # CHECK-NEXT: fde_count_enc:
16 # CHECK-NEXT: table_enc:
17 # CHECK-NEXT: eh_frame_ptr:
18 # CHECK-NEXT: fde_count: 1
19 # CHECK-NEXT: entry 0 {
20 # CHECK-NEXT: initial_location: 0x[[# %x, SYM:]]
21 # CHECK-NEXT: address: 0x[[# %x, FDE:]]
22 # CHECK-NEXT: }
23 # CHECK-NEXT: }
24 # CHECK-NEXT: }
26 # CHECK: [0x[[# FDE]]] FDE
28 # CHECK: Symbol table
29 # CHECK-NEXT: Num: Value {{.*}} Name
30 # CHECK: {{0+}}[[# SYM]] {{.*}} bar
32 .section .text.bar,"axG",@progbits,bar,comdat
33 .global bar
34 bar:
35 .cfi_startproc
36 ret
37 .cfi_endproc