Rename Kept -> Suffix
[oota-llvm.git] / tools / bugpoint / BugDriver.cpp
index 7a2ce26a85406814d4a421a9d4313f86671e6d99..7ccbe0d828b84dcae37f8a929f1967f153f9f3ce 100644 (file)
@@ -37,7 +37,7 @@ void DeleteFunctionBody(Function *F) {
 
   // Next, delete all of the basic blocks.
   F->getBasicBlockList().clear();
-
+  F->setLinkage(GlobalValue::ExternalLinkage);
   assert(F->isExternal() && "This didn't make the function external!");
 }