From 6400a974188ec01d2ab599eb6de6f2353c9e6423 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Tue, 6 Feb 2018 15:42:41 +0000 Subject: [PATCH] [COFF] LTO does not require a disassembler. llvm-svn: 324355 --- lld/COFF/Driver.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lld/COFF/Driver.cpp b/lld/COFF/Driver.cpp index 093c924..3a26e61 100644 --- a/lld/COFF/Driver.cpp +++ b/lld/COFF/Driver.cpp @@ -818,7 +818,6 @@ void LinkerDriver::link(ArrayRef ArgsArr) { InitializeAllTargetMCs(); InitializeAllAsmParsers(); InitializeAllAsmPrinters(); - InitializeAllDisassemblers(); // Parse command line options. ArgParser Parser; -- 2.7.4