diff options
Diffstat (limited to 'tools/bugpoint/BugDriver.cpp')
-rw-r--r-- | tools/bugpoint/BugDriver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/BugDriver.cpp b/tools/bugpoint/BugDriver.cpp index 7a2ce26a85..7ccbe0d828 100644 --- 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!"); } |