1// REQUIRES: x86 2// RUN: llvm-mc -filetype=obj -triple=i686-pc-linux %s -o %t.o 3// RUN: ld.lld --gc-sections %t.o -o %t 4// RUN: llvm-readobj -S %t | FileCheck %s 5 6// Test that the we don't gc the personality function. 7// CHECK: Name: .foobar 8 9 .globl _start 10_start: 11 .cfi_startproc 12 .cfi_personality 3, foobar 13 .cfi_endproc 14 .section .foobar,"ax" 15foobar: 16