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.
9 # CHECK: Name: .test_personality_section
16 .cfi_personality 155, DW.ref.__gxx_personality_v0
19 .section .test_personality_section
20 DW.ref.__gxx_personality_v0
: