Skip to content

Commit 0fab2c7

Browse files
committed
The fix
1 parent 45dde51 commit 0fab2c7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • include/phasar/PhasarLLVM/DataFlowSolver/IfdsIde/Solver

include/phasar/PhasarLLVM/DataFlowSolver/IfdsIde/Solver/IDESolver.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,9 @@ class IDESolver
10981098
// return site using the composed function
10991099
auto RevLookupResult = JumpFn->reverseLookup(c, d4);
11001100
if (RevLookupResult) {
1101-
for (const auto &ValAndFunc : RevLookupResult->get()) {
1101+
llvm::SmallVector<std::pair<d_t, EdgeFunctionPtrType>, 2> ResCopy(
1102+
RevLookupResult->get().begin(), RevLookupResult->get().end());
1103+
for (const auto &ValAndFunc : ResCopy) {
11021104
EdgeFunctionPtrType f3 = ValAndFunc.second;
11031105
if (!f3->equal_to(AllTop)) {
11041106
d_t d3 = ValAndFunc.first;

0 commit comments

Comments
 (0)