Remove the PreserveSource linker mode.
[oota-llvm.git] / tools / bugpoint / BugDriver.cpp
index b54ea2387b3f733d044895cd9f468e926aac5acd..b8be17e44dd20bedabc5cb0d9567806e5a2213f6 100644 (file)
@@ -126,7 +126,7 @@ bool BugDriver::addSources(const std::vector<std::string> &Filenames) {
     if (!M.get()) return true;
 
     outs() << "Linking in input file: '" << Filenames[i] << "'\n";
-    if (Linker::LinkModules(Program, M.get(), Linker::DestroySource))
+    if (Linker::LinkModules(Program, M.get()))
       return true;
   }