This content has been marked as final. Show 2 replies
Yes -xanalyze=code needs to be specified for each compilation because the static analysis is done during compilation time. The .previse section may be 0 bytes because no static errors were found for those modules.
Hope that helps.
At link time, the static error data from all the files is collected and stored in a file. So -xanalyze=code needs to be specified at link time as well.