We don't need the targets to read objects.

llvm-svn: 240684
This commit is contained in:
Rafael Espindola 2015-06-25 20:20:19 +00:00
parent 5e34ce33f5
commit d8757a4b38
2 changed files with 0 additions and 4 deletions

View File

@ -1,5 +1,4 @@
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Object
Support
)

View File

@ -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);