We don't need the targets to read objects.
llvm-svn: 240684
This commit is contained in:
@@ -380,9 +380,6 @@ int main(int argc, const char *argv[]) {
|
||||
PrettyStackTraceProgram X(argc, argv);
|
||||
llvm_shutdown_obj Y;
|
||||
|
||||
// Initialize targets.
|
||||
llvm::InitializeAllTargetInfos();
|
||||
|
||||
// Register the target printer for --version.
|
||||
cl::AddExtraVersionPrinter(TargetRegistry::printRegisteredTargetsForVersion);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user