commit | 473a843f31af46de50e7b5747d0f3b41bbfe3fd8 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Apr 24 22:53:01 2003 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Apr 24 22:53:01 2003 +0000 |
tree | 60b63044ca13a14ce06bdbf60e76c48dd0535713 | |
parent | aae33f9137e4a64394d8f9fe66611ae53a0ef4e8 [diff] [blame] |
Make sure that deleted functions have external linkage git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5912 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/bugpoint/BugDriver.cpp b/tools/bugpoint/BugDriver.cpp index 7a2ce26..7ccbe0d 100644 --- a/tools/bugpoint/BugDriver.cpp +++ b/tools/bugpoint/BugDriver.cpp
@@ -37,7 +37,7 @@ // Next, delete all of the basic blocks. F->getBasicBlockList().clear(); - + F->setLinkage(GlobalValue::ExternalLinkage); assert(F->isExternal() && "This didn't make the function external!"); }