[llvm] r214571 - MS inline asm: Hide symbol to attempt to fix test failure on darwin

Reid Kleckner reid at kleckner.net
Fri Aug 1 14:54:37 PDT 2014


Author: rnk
Date: Fri Aug  1 16:54:37 2014
New Revision: 214571

URL: http://llvm.org/viewvc/llvm-project?rev=214571&view=rev
Log:
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.

Modified:
    llvm/trunk/test/CodeGen/X86/ms-inline-asm.ll

Modified: llvm/trunk/test/CodeGen/X86/ms-inline-asm.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/ms-inline-asm.ll?rev=214571&r1=214570&r2=214571&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/ms-inline-asm.ll (original)
+++ llvm/trunk/test/CodeGen/X86/ms-inline-asm.ll Fri Aug  1 16:54:37 2014
@@ -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)





More information about the llvm-commits mailing list