Next: , Previous: ppw-showopts, Up: Command Reference


B.18 ppwresolve.pl

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.

B.18.1 Invoking ppwresolve.pl

To invoke ppwresolve.pl, use the following syntax:

     
     ppwresolve.pl [--quiet] input.par output.par
     

B.18.2 ppwresolve.pl Command Options

ppwresolve.pl accepts the following options:

--quiet
Suppress all output to the screen during normal execution.

B.18.3 ppwresolve.pl Notes

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.