From 562e0d802308142c73ea240065852465af866ec8 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 19 Jun 2014 23:06:53 +0000 Subject: [PATCH] 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. llvm-svn: 211325 --- llvm/tools/gold/gold-plugin.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp index bb8b32b814f9..4e273de3404a 100644 --- a/llvm/tools/gold/gold-plugin.cpp +++ b/llvm/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;