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

Chris Lattner sabre at nondot.org
Mon Sep 25 20:38:36 PDT 2006



Changes in directory llvm/lib/Target:

TargetAsmInfo.cpp updated: 1.3 -> 1.4
---
Log message:

Add support for targets that want to do something with the llvm.used list,
because they have an aggressive linker that does dead code stripping.


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

 TargetAsmInfo.cpp |    1 +
 1 files changed, 1 insertion(+)


Index: llvm/lib/Target/TargetAsmInfo.cpp
diff -u llvm/lib/Target/TargetAsmInfo.cpp:1.3 llvm/lib/Target/TargetAsmInfo.cpp:1.4
--- llvm/lib/Target/TargetAsmInfo.cpp:1.3	Sun Sep 24 14:45:58 2006
+++ llvm/lib/Target/TargetAsmInfo.cpp	Mon Sep 25 22:38:18 2006
@@ -58,6 +58,7 @@
   COMMDirective("\t.comm\t"),
   COMMDirectiveTakesAlignment(true),
   HasDotTypeDotSizeDirective(true),
+  UsedDirective(0),
   HasLEB128(false),
   HasDotLoc(false),
   HasDotFile(false),






More information about the llvm-commits mailing list