projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rename Kept -> Suffix
[oota-llvm.git]
/
tools
/
bugpoint
/
BugDriver.cpp
diff --git
a/tools/bugpoint/BugDriver.cpp
b/tools/bugpoint/BugDriver.cpp
index 7a2ce26a85406814d4a421a9d4313f86671e6d99..7ccbe0d828b84dcae37f8a929f1967f153f9f3ce 100644
(file)
--- a/
tools/bugpoint/BugDriver.cpp
+++ b/
tools/bugpoint/BugDriver.cpp
@@
-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!");
}