I am not exactly sure what causes your error. But if you have a reduced test case we can try looking at it.
i wrote a little pass. It tries to identify every call- / invoke-instruction recursively and calls computeCalleeCallerMapping
for each. The sample program just creates a vector of integer and adds an element to it.
Do you know what’s wrong?
pass.cpp (2.08 KB)
sample.cpp (103 Bytes)