[llvm] r211325 - The gold plugin doesn't need disassemblers.

Rafael Espindola rafael.espindola at gmail.com
Thu Jun 19 16:06:53 PDT 2014


Author: rafael
Date: Thu Jun 19 18:06:53 2014
New Revision: 211325

URL: http://llvm.org/viewvc/llvm-project?rev=211325&view=rev
Log:
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.

Modified:
    llvm/trunk/tools/gold/gold-plugin.cpp

Modified: llvm/trunk/tools/gold/gold-plugin.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/gold/gold-plugin.cpp?rev=211325&r1=211324&r2=211325&view=diff
==============================================================================
--- llvm/trunk/tools/gold/gold-plugin.cpp (original)
+++ llvm/trunk/tools/gold/gold-plugin.cpp Thu Jun 19 18:06:53 2014
@@ -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;





More information about the llvm-commits mailing list