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
This commit is contained in:
Rafael Espindola 2014-06-19 23:06:53 +00:00
parent f38fdf1b61
commit 2ae686a2ab

View File

@ -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;