Skip to content

Commit

Permalink
Merge pull request #1032 from jumormt/master
Browse files Browse the repository at this point in the history
Undefined BB
  • Loading branch information
yuleisui authored Mar 15, 2023
2 parents 5612800 + a5f453c commit 1982615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion svf-llvm/lib/SVFIRBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1565,7 +1565,7 @@ void SVFIRBuilder::updateCallGraph(PTACallGraph* callgraph)

if (isExtCall(*func_iter))
{
setCurrentLocation(callee, &callee->getEntryBlock());
setCurrentLocation(callee, callee->empty() ? nullptr : &callee->getEntryBlock());
handleExtCall(const_cast<CallBase*>(callbase), callee);
}
else
Expand Down

0 comments on commit 1982615

Please sign in to comment.