summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-06-19 23:06:53 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-06-19 23:06:53 +0000
commit2ae686a2ab90def4f9fa38c1407bbe7f062068f3 (patch)
treed84f7b2c1c301741e91761bfeb9c84a8df7e95bd /tools
parentf38fdf1b612bf9e0a19d8d08d4283baa05334bcb (diff)
downloadllvm-2ae686a2ab90def4f9fa38c1407bbe7f062068f3.tar.gz
llvm-2ae686a2ab90def4f9fa38c1407bbe7f062068f3.tar.bz2
llvm-2ae686a2ab90def4f9fa38c1407bbe7f062068f3.tar.xz
The gold plugin doesn't need disassemblers.
Back in r128440 tools/LTO started exporting the disassembler interface. It was never clear why, but whatever the reason I am pretty sure it doesn't hold for tools/gold. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211325 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/gold/gold-plugin.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/gold/gold-plugin.cpp b/tools/gold/gold-plugin.cpp
index bb8b32b814..4e273de340 100644
--- a/tools/gold/gold-plugin.cpp
+++ b/tools/gold/gold-plugin.cpp
@@ -247,7 +247,6 @@ ld_plugin_status onload(ld_plugin_tv *tv) {
InitializeAllTargetMCs();
InitializeAllAsmParsers();
InitializeAllAsmPrinters();
- InitializeAllDisassemblers();
CodeGen = new LTOCodeGenerator();
if (MAttrs.size()) {
std::string Attrs;