mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214571 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
147851ef9d
commit
b125730db8
@ -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