xref: /aosp_15_r20/external/llvm/test/MC/MachO/eh_symbol.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-nm - | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker// test that we don't produce foo.eh symbols in a debug_frame section.
4*9880d681SAndroid Build Coastguard Worker// CHECK-NOT: _f.eh
5*9880d681SAndroid Build Coastguard Worker// CHECK: T _f
6*9880d681SAndroid Build Coastguard Worker// CHECK-NOT: _f.eh
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Worker	.globl	_f
9*9880d681SAndroid Build Coastguard Worker_f:
10*9880d681SAndroid Build Coastguard Worker	.cfi_startproc
11*9880d681SAndroid Build Coastguard Worker	retl
12*9880d681SAndroid Build Coastguard Worker	.cfi_endproc
13*9880d681SAndroid Build Coastguard Worker
14*9880d681SAndroid Build Coastguard Worker	.cfi_sections .debug_frame
15