[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / eh-frame-gc.s
blob83d2ba5371669890e88bed10a55d49d03173e827
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=i686-pc-linux %s -o %t.o
3 # RUN: ld.lld -shared --gc-sections %t.o -o %t
4 # RUN: llvm-readobj -S %t | FileCheck %s
6 ## Check that section containing personality is
7 ## not garbage collected.
8 # CHECK: Sections [
9 # CHECK: Name: .test_personality_section
11 .text
12 .globl foo
13 .type foo,@function
14 foo:
15 .cfi_startproc
16 .cfi_personality 155, DW.ref.__gxx_personality_v0
17 .cfi_endproc
19 .section .test_personality_section
20 DW.ref.__gxx_personality_v0: