aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/AsmPrinter.h
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-09-03 20:34:58 +0000
committerDale Johannesen <dalej@apple.com>2008-09-03 20:34:58 +0000
commit4911fb83d8a8357f67d01620b4b8979df15aa52c (patch)
tree133113d6a1e4f964762bba0991fd16cec37be158 /include/llvm/CodeGen/AsmPrinter.h
parent1cd3a415b1e5d5420c2125eb523d7605779f9b94 (diff)
downloadexternal_llvm-4911fb83d8a8357f67d01620b4b8979df15aa52c.zip
external_llvm-4911fb83d8a8357f67d01620b4b8979df15aa52c.tar.gz
external_llvm-4911fb83d8a8357f67d01620b4b8979df15aa52c.tar.bz2
Do not emit a UsedDirective for things in the llvm.used
list that have internal linkage; the linker doesn't need or want this. (These objects must still be preserved at compile time, so just removing them from the llvm.used list doesn't work.) Should affect only Darwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55722 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/AsmPrinter.h')
-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 08c3197..6ccef8c 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/include/llvm/CodeGen/AsmPrinter.h
@@ -363,6 +363,7 @@ namespace llvm {
void printVisibility(const std::string& Name, unsigned Visibility) const;
private:
+ const GlobalValue *findGlobalValue(const Constant* CV);
void EmitLLVMUsedList(Constant *List);
void EmitXXStructorList(Constant *List);
void EmitConstantPool(unsigned Alignment, const char *Section,