[llvm-commits] CVS: llvm/lib/Target/X86/X86ATTAsmPrinter.cpp

Chris Lattner sabre at nondot.org
Sat Jan 13 16:48:58 PST 2007



Changes in directory llvm/lib/Target/X86:

X86ATTAsmPrinter.cpp updated: 1.86 -> 1.87
---
Log message:

darwin doesn't use .hidden.  Disable this until we fix it right.


---
Diffs of the changes:  (+1 -1)

 X86ATTAsmPrinter.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/X86/X86ATTAsmPrinter.cpp
diff -u llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.86 llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.87
--- llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.86	Sat Jan 13 18:13:07 2007
+++ llvm/lib/Target/X86/X86ATTAsmPrinter.cpp	Sat Jan 13 18:48:43 2007
@@ -125,7 +125,7 @@
     }
     break;
   }
-  if (F->hasHiddenVisibility())
+  if (F->hasHiddenVisibility() && !Subtarget->isTargetDarwin())
     O << "\t.hidden " << CurrentFnName << "\n";
   
   O << CurrentFnName << ":\n";






More information about the llvm-commits mailing list