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
10 # CHECK: 00000018 00000010 0000001c FDE cie=00000000 {{.*}}
12 # CHECK: 0000002c 00000018 00000000 CIE
13 # CHECK: Augmentation:
15 # CHECK: Personality Address:
17 # CHECK: 00000048 00000010 00000020 FDE cie=0000002c {{.*}}
19 # CHECK: 0000005c 00000018 00000000 CIE
20 # CHECK: Augmentation:
22 # CHECK: Personality Address:
24 # CHECK: 00000078 00000014 00000020 FDE cie=0000005c {{.*}}
28 .cfi_personality 0x9b, personality0
32 ## This CIE cannot be merged into the previous one because the Personality is different.
35 .cfi_personality 0x9b, personality1
44 .globl personality0, personality1
45 .hidden personality0, personality1