aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/MachO/eh-symbols.s
blob: 6adca56cdbe71257ebd5d5edd8452dc590bf64af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// RUN: llvm-mc -filetype=obj -triple i686-apple-darwin %s  -o - | llvm-readobj -t | FileCheck %s

// Make sure that the exception handling data has the same visibility as the
// function it's generated for.

	.private_extern	_main
	.globl	_main
_main:
	.cfi_startproc
	retl
	.cfi_endproc

"_-[NSString(local) isNullOrNil]":
	.cfi_startproc
	retl
	.cfi_endproc

// CHECK: Name: _-[NSString(local) isNullOrNil].eh

// CHECK:       Name: _main
// CHECK-NEXT:  PrivateExtern

// CHECK:       Name: _main.eh
// CHECK-NEXT:  PrivateExtern