ppwresolve.pl resolves function names and callsites expressed as VMAs (virtual memory addresses) into their appropriate form. An input PAR file will likely contain function names and callsites as VMAs if it comes from the execution of a program that was compiled using the --inst-functions option of ppwshmemcc, ppwmpicc, or ppwcc. A PAR file will also contain callsites as VMAs if libunwind was used to obtain callsite information. ppwresolve.pl works by making appropriate invocations of the addr2line program.
To invoke ppwresolve.pl, use the following syntax:
ppwresolve.pl [--quiet] input.par output.par
ppwresolve.pl accepts the following options:
ppwresolve.pl requires the addr2line program to be available in order to work properly. In addition, the script must be able to locate and open your original application executable (corresponding to the input PAR file), so it is best to run ppwresolve.pl immediately after obtaining a PAR file that needs to be fixed.