From: Rafael Espindola Date: Thu, 19 Jun 2014 23:06:53 +0000 (+0000) Subject: The gold plugin doesn't need disassemblers. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=2ae686a2ab90def4f9fa38c1407bbe7f062068f3;p=oota-llvm.git 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 --- diff --git a/tools/gold/gold-plugin.cpp b/tools/gold/gold-plugin.cpp index bb8b32b814f..4e273de3404 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;