[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / eh-frame-hdr-no-out2.s
blob3be287a089ffefd9af63306243512bc88621dfaf
1 // REQUIRES: x86
2 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
3 // RUN: ld.lld --eh-frame-hdr %t.o -o %t
4 // RUN: llvm-readobj -S -l %t | FileCheck %s --check-prefix=NOHDR
6 .section foo,"ax",@progbits
7 nop
9 .text
10 .globl _start
11 _start:
13 // There is no .eh_frame section,
14 // therefore .eh_frame_hdr also not created.
15 // NOHDR: Sections [
16 // NOHDR-NOT: Name: .eh_frame
17 // NOHDR-NOT: Name: .eh_frame_hdr
18 // NOHDR: ProgramHeaders [
19 // NOHDR-NOT: PT_GNU_EH_FRAME