Compiler listings

In IBM® XL C/C++ for AIX® 16.1.0 and earlier releases, the -qlist option was used to produce a compiler listing file that includes object and constant area sections. In IBM Open XL C/C++ for AIX 17.1.4, you can use the ibm-llvm-objdump utility instead. This utility can be leveraged to print the contents of object files and final linked images named on the command line. The functionality of listing files is not provided in IBM Open XL C/C++ for AIX 17.1.4. Using the -S option, you can get an assembler language file for each source file.

In IBM XL C/C++ for AIX 16.1.0 and earlier releases, the -qreport option was used to show how sections of code have been optimized. Starting from IBM Open XL C/C++ for AIX 17.1.4, you can use the -Rpass, -Rpass-analysis, or -fsave-optimization-record LLVM options to get optimization reports. However, the reports have a different format from the listing files generated by IBM XL C/C++ for AIX 16.1.0 or earlier releases, and the information is also different. For details of -Rpass-remarks, refer to the "Options to Emit Optimization Reports" section in the Clang documentation.

Important: Differences in messages and listings between previous releases and IBM Open XL C/C++ for AIX 17.1.4 might impact compiler builds and tooling environments.

Related information