The gold plugin doesn't need disassemblers.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 19 Jun 2014 23:06:53 +0000 (23:06 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 19 Jun 2014 23:06:53 +0000 (23:06 +0000)
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

index bb8b32b814f9a9e999f2814d36a4bb78ca65b5a6..4e273de3404a39ce3101a097ae80560edd696bcd 100644 (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;