llvm/test/MC/MachO/hidden-vis-eh.s
Rafael Espindola 6c22b041da Split out the MC part of this test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204481 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-21 17:16:11 +00:00

18 lines
410 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
// CHECK: Name: _main
// CHECK-NEXT: PrivateExtern
// CHECK: Name: _main.eh
// CHECK-NEXT: PrivateExtern