mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-02 08:26:29 +00:00
MS inline asm: Hide symbol to attempt to fix test failure on darwin
If the symbol comes from an external DSO, it apparently requires indirection through a register. llvm-svn: 214571
This commit is contained in:
parent
323f635bbe
commit
9e05075d55
@ -126,7 +126,7 @@ entry:
|
||||
; CHECK: ret
|
||||
}
|
||||
|
||||
declare void @other_func()
|
||||
declare hidden void @other_func()
|
||||
|
||||
define void @naked() #0 {
|
||||
call void asm sideeffect inteldialect "call dword ptr $0", "*m,~{eax},~{ebx},~{ecx},~{edx},~{edi},~{esi},~{esp},~{ebp},~{dirflag},~{fpsr},~{flags}"(void()* @other_func)
|
||||
|
Loading…
Reference in New Issue
Block a user