[llvm-commits] CVS: llvm/include/llvm/CodeGen/AsmPrinter.h
    Chris Lattner 
    sabre at nondot.org
       
    Mon Sep 25 20:38:36 PDT 2006
    
    
  
Changes in directory llvm/include/llvm/CodeGen:
AsmPrinter.h updated: 1.48 -> 1.49
---
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)
 AsmPrinter.h |    1 +
 1 files changed, 1 insertion(+)
Index: llvm/include/llvm/CodeGen/AsmPrinter.h
diff -u llvm/include/llvm/CodeGen/AsmPrinter.h:1.48 llvm/include/llvm/CodeGen/AsmPrinter.h:1.49
--- llvm/include/llvm/CodeGen/AsmPrinter.h:1.48	Tue Sep 12 15:59:22 2006
+++ llvm/include/llvm/CodeGen/AsmPrinter.h	Mon Sep 25 22:38:18 2006
@@ -197,6 +197,7 @@
     void printDataDirective(const Type *type);
 
   private:
+    void EmitLLVMUsedList(Constant *List);
     void EmitXXStructorList(Constant *List);
     void EmitConstantPool(unsigned Alignment, const char *Section,
                 std::vector<std::pair<MachineConstantPoolEntry,unsigned> > &CP);
    
    
More information about the llvm-commits
mailing list