forked from OSchip/llvm-project
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
This commit is contained in:
parent
d329674028
commit
562e0d8023
|
@ -247,7 +247,6 @@ ld_plugin_status onload(ld_plugin_tv *tv) {
|
||||||
InitializeAllTargetMCs();
|
InitializeAllTargetMCs();
|
||||||
InitializeAllAsmParsers();
|
InitializeAllAsmParsers();
|
||||||
InitializeAllAsmPrinters();
|
InitializeAllAsmPrinters();
|
||||||
InitializeAllDisassemblers();
|
|
||||||
CodeGen = new LTOCodeGenerator();
|
CodeGen = new LTOCodeGenerator();
|
||||||
if (MAttrs.size()) {
|
if (MAttrs.size()) {
|
||||||
std::string Attrs;
|
std::string Attrs;
|
||||||
|
|
Loading…
Reference in New Issue