Closed Toaster192 closed 3 months ago
Thanks for reporting it. This is indeed a bug. The behavior of llvm-pta-dump
was changed when a generic API for pointer analyses was introduced. llvm-pta-dump
now uses this API to show the points-to sets. Dumping to graphviz is a feature that dumps the internal representation of points-to analyses (the pointer graph) and therefore must be used together with -ir
option.
Either the
llvm-pta-dump
tool is being called with incorrect arguments in thepta-show
script or there is an issue inllvm-pta-dump
that leads to the output not being in the correct .dot syntax.Examples:
or