[llvm-commits] CVS: llvm/lib/Target/X86/X86AsmPrinter.cpp
Chris Lattner
sabre at nondot.org
Sat Jan 13 16:51:11 PST 2007
Changes in directory llvm/lib/Target/X86:
X86AsmPrinter.cpp updated: 1.225 -> 1.226
---
Log message:
darwin doesn't use .hidden. Disable this until we fix it right.
---
Diffs of the changes: (+1 -1)
X86AsmPrinter.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/X86/X86AsmPrinter.cpp
diff -u llvm/lib/Target/X86/X86AsmPrinter.cpp:1.225 llvm/lib/Target/X86/X86AsmPrinter.cpp:1.226
--- llvm/lib/Target/X86/X86AsmPrinter.cpp:1.225 Fri Jan 12 13:20:47 2007
+++ llvm/lib/Target/X86/X86AsmPrinter.cpp Sat Jan 13 18:50:56 2007
@@ -246,7 +246,7 @@
EmitGlobalConstant(C);
O << '\n';
}
- if (I->hasHiddenVisibility())
+ if (I->hasHiddenVisibility() && !Subtarget->isTargetDarwin())
O << "\t.hidden " << name << "\n";
}
More information about the llvm-commits
mailing list