From 2ae686a2ab90def4f9fa38c1407bbe7f062068f3 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 19 Jun 2014 23:06:53 +0000 Subject: 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 --- tools/gold/gold-plugin.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'tools') 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; -- cgit v1.2.3