diff options
author | William Marlow <william.marlow@lux01.co.uk> | 2022-07-12 06:41:25 (GMT) |
---|---|---|
committer | William Marlow <william.marlow@lux01.co.uk> | 2022-07-12 06:41:25 (GMT) |
commit | 74e3ac2b7e62f70440622db5c9a377a04f22697c (patch) | |
tree | ab6b3aed933e359596054db67fc03068b724442e /Help/guide/tutorial/Step7/MathFunctions | |
parent | 6212038992d2bfcce8f1ab23b82711376aa03cbf (diff) | |
download | CMake-74e3ac2b7e62f70440622db5c9a377a04f22697c.zip CMake-74e3ac2b7e62f70440622db5c9a377a04f22697c.tar.gz CMake-74e3ac2b7e62f70440622db5c9a377a04f22697c.tar.bz2 |
AIX: Export symbols from IBMClang IPA objects
When interprocedural analysis is enabled on the IBMClang family of
compilers (via the `-flto` option) then the resulting object files
contain LLVM IR rather than XCOFF objects[1].
ExportImportList needs to detect LLVM IR objects and use the
`ibm-llvm-nm` tool that ships with the compiler to create the extract
the defined symbols.
Without this change, such objects result in an error message from
`dump` and no symbols being exported from the object file.
[1]: https://www.ibm.com/docs/en/openxl-c-and-cpp-aix/17.1.0?topic=compatibility-link-time-optimization-lto
Diffstat (limited to 'Help/guide/tutorial/Step7/MathFunctions')
0 files changed, 0 insertions, 0 deletions