[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / eh-frame-multiple-cie.s
blobea9ef4614f0dddf97ab929f2e9cf13e1c7c535b8
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o
3 # RUN: ld.lld --eh-frame-hdr -shared %t.o -o %t.so
4 # RUN: llvm-dwarfdump --eh-frame %t.so | FileCheck %s
6 # CHECK: 00000000 00000014 00000000 CIE
7 # CHECK: Augmentation:
8 # CHECK-SAME: "zR"
10 # CHECK: 00000018 00000010 0000001c FDE cie=00000000 {{.*}}
12 # CHECK: 0000002c 00000018 00000000 CIE
13 # CHECK: Augmentation:
14 # CHECK-SAME: "zPR"
15 # CHECK: Personality Address:
17 # CHECK: 00000048 00000010 00000020 FDE cie=0000002c {{.*}}
19 # CHECK: 0000005c 00000018 00000000 CIE
20 # CHECK: Augmentation:
21 # CHECK-SAME: "zPR"
22 # CHECK: Personality Address:
24 # CHECK: 00000078 00000014 00000020 FDE cie=0000005c {{.*}}
26 foo0:
27 .cfi_startproc
28 .cfi_personality 0x9b, personality0
29 ret
30 .cfi_endproc
32 ## This CIE cannot be merged into the previous one because the Personality is different.
33 foo1:
34 .cfi_startproc
35 .cfi_personality 0x9b, personality1
36 ret
37 .cfi_endproc
39 bar:
40 .cfi_startproc
41 ret
42 .cfi_endproc
44 .globl personality0, personality1
45 .hidden personality0, personality1
46 personality0:
47 ret
49 personality1:
50 ret