AArch64/ARM64: move ARM64 into AArch64's place
[oota-llvm.git] / test / MC / MachO / eh-symbols.s
1 // RUN: llvm-mc -filetype=obj -triple i686-apple-darwin %s  -o - | llvm-readobj -t | FileCheck %s
2
3 // Make sure that the exception handling data has the same visibility as the
4 // function it's generated for.
5
6         .private_extern _main
7         .globl  _main
8 _main:
9         .cfi_startproc
10         retl
11         .cfi_endproc
12
13 "_-[NSString(local) isNullOrNil]":
14         .cfi_startproc
15         retl
16         .cfi_endproc
17
18 // CHECK: Name: _-[NSString(local) isNullOrNil].eh
19
20 // CHECK:       Name: _main
21 // CHECK-NEXT:  PrivateExtern
22
23 // CHECK:       Name: _main.eh
24 // CHECK-NEXT:  PrivateExtern
25