summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetAsmInfo.cpp
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
commit66af390631afca15edd4d64f0a1e7c16a4c7ef1f (patch)
tree689643354ff0d83df8823783f9136d846643d118 /llvm/lib/Target/TargetAsmInfo.cpp
parent991d3997cf2a3d4f8ee4137bfeb5b1eada5bcf72 (diff)
downloadbcm5719-llvm-66af390631afca15edd4d64f0a1e7c16a4c7ef1f.tar.gz
bcm5719-llvm-66af390631afca15edd4d64f0a1e7c16a4c7ef1f.zip
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. llvm-svn: 30604
Diffstat (limited to 'llvm/lib/Target/TargetAsmInfo.cpp')
-rw-r--r--llvm/lib/Target/TargetAsmInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/TargetAsmInfo.cpp b/llvm/lib/Target/TargetAsmInfo.cpp
index 6efcf4be245..c085eb4db02 100644
--- a/llvm/lib/Target/TargetAsmInfo.cpp
+++ b/llvm/lib/Target/TargetAsmInfo.cpp
@@ -58,6 +58,7 @@ TargetAsmInfo::TargetAsmInfo() :
COMMDirective("\t.comm\t"),
COMMDirectiveTakesAlignment(true),
HasDotTypeDotSizeDirective(true),
+ UsedDirective(0),
HasLEB128(false),
HasDotLoc(false),
HasDotFile(false),
OpenPOWER on IntegriCloud