llvm-6502/test/MC/MachO/eh-symbols.s
Rafael Espindola 3f687d350c Move codegen test over to MC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204490 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-21 17:55:34 +00:00

26 lines
535 B
ArmAsm

// 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