[llvm-commits] CVS: llvm/lib/Target/ARM/ARMAsmPrinter.cpp
Rafael Espindola
rafael.espindola at gmail.com
Tue Dec 5 09:00:37 PST 2006
Changes in directory llvm/lib/Target/ARM:
ARMAsmPrinter.cpp updated: 1.29 -> 1.30
---
Log message:
add support for weak linkage
---
Diffs of the changes: (+1 -1)
ARMAsmPrinter.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/ARM/ARMAsmPrinter.cpp
diff -u llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.29 llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.30
--- llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.29 Thu Nov 9 07:58:55 2006
+++ llvm/lib/Target/ARM/ARMAsmPrinter.cpp Tue Dec 5 11:00:17 2006
@@ -128,7 +128,7 @@
break;
case Function::WeakLinkage:
case Function::LinkOnceLinkage:
- assert(0 && "Not implemented");
+ O << "\t.weak\t" << CurrentFnName << "\n";
break;
}
EmitAlignment(2, F);
More information about the llvm-commits
mailing list