Error on using DataStructureAnalysis

Hi,

I am not exactly sure what causes your error. But if you have a reduced test case we can try looking at it.

Thanks,
Arushi

Hello,

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?

Best,
Andreas

pass.cpp (2.08 KB)

sample.cpp (103 Bytes)

Hi,

What front end are you using for your cpp file, llvm-g++ or clang. Can you attach your .ll file please.

Thanks,
Regards,
Arushi