[llvm-commits] CVS: llvm/lib/Target/ARM/ARMAsmPrinter.cpp
Evan Cheng
evan.cheng at apple.com
Thu Mar 29 00:49:57 PDT 2007
Changes in directory llvm/lib/Target/ARM:
ARMAsmPrinter.cpp updated: 1.62 -> 1.63
---
Log message:
Add support for hidden visibility to darwin/arm.
---
Diffs of the changes: (+4 -0)
ARMAsmPrinter.cpp | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/lib/Target/ARM/ARMAsmPrinter.cpp
diff -u llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.62 llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.63
--- llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.62 Tue Mar 20 03:11:30 2007
+++ llvm/lib/Target/ARM/ARMAsmPrinter.cpp Thu Mar 29 02:49:34 2007
@@ -205,6 +205,10 @@
break;
}
+ if (F->hasHiddenVisibility())
+ if (const char *Directive = TAI->getHiddenDirective())
+ O << Directive << CurrentFnName << "\n";
+
if (AFI->isThumbFunction()) {
EmitAlignment(1, F);
O << "\t.code\t16\n";
More information about the llvm-commits
mailing list