aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-09-26 03:38:18 +0000
committerChris Lattner <sabre@nondot.org>2006-09-26 03:38:18 +0000
commitcb05af852f1d346ac07b84c74a930a5cdbd6d427 (patch)
treeb7a6f3a4174cff9614c3668b631a2dcbc5a7d1ee /include/llvm/CodeGen
parent384299ef45840acf7c43125dc935237b333e339a (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30604 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index 52e47faca4..386a8d53fd 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/include/llvm/CodeGen/AsmPrinter.h
@@ -197,6 +197,7 @@ namespace llvm {
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);