mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 10:04:33 +00:00
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
This commit is contained in:
parent
e85dd7c26d
commit
6c22b041da
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -disable-cfi -mtriple=i386-apple-darwin9 -relocation-model=pic -disable-fp-elim | FileCheck %s
|
||||
; RUN: llc < %s -mtriple=i386-apple-darwin9 -relocation-model=pic -disable-fp-elim | FileCheck %s
|
||||
|
||||
|
||||
|
||||
@ -48,8 +48,3 @@ return: ; preds = %entry
|
||||
%retval1 = load i32* %retval ; <i32> [#uses=1]
|
||||
ret i32 %retval1
|
||||
}
|
||||
|
||||
; CHECK: .private_extern _func.eh
|
||||
; CHECK: .private_extern _main.eh
|
||||
|
||||
|
||||
|
17
test/MC/MachO/hidden-vis-eh.s
Normal file
17
test/MC/MachO/hidden-vis-eh.s
Normal file
@ -0,0 +1,17 @@
|
||||
// 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
|
Loading…
Reference in New Issue
Block a user