Skip to content

Commit

Permalink
Merge pull request #1281 from Qcloud1223/extapi-break
Browse files Browse the repository at this point in the history
Break when app and extapi module have a match
  • Loading branch information
yuleisui committed Dec 12, 2023
2 parents 1b74d0a + db5ca34 commit a83aec2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions svf-llvm/lib/LLVMModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -966,6 +966,7 @@ void LLVMModuleSet::buildFunToFunMap()
// ExtDecl -> ExtDecl in Table 1
std::vector<const Function*> calledFunctions = LLVMUtil::getCalledFunctions(extfun);
ExtFuncsVec.insert(ExtFuncsVec.end(), calledFunctions.begin(), calledFunctions.end());
break;
}
}
}
Expand Down Expand Up @@ -996,6 +997,7 @@ void LLVMModuleSet::buildFunToFunMap()
// ExtDecl -> ExtDecl in Table 1
std::vector<const Function*> calledFunctions = LLVMUtil::getCalledFunctions(owfunc);
ExtFuncsVec.insert(ExtFuncsVec.end(), calledFunctions.begin(), calledFunctions.end());
break;
}
}
}
Expand Down

0 comments on commit a83aec2

Please sign in to comment.