cygprofile: Add support for ThinLTO in extract_symbols.py.
Now that ThinLTO is used, object files no longer contain executable code, only
LLVM bitcode. As a consequence, it is no longer possible to visualize the code
-> object file mapping.
extract_symbols.py can be used to overlay the native library code range with the
provenance of its code. It generates a HTML visualization of the native library
layout, and is used to investigate and assess code ordering.
To get it back, use llvm-nm instead of objdump to get the list of symbols. This
requires a change to clang scripts, as llvm-nm isn't built with clang yet.
Also fixes a few lint warnings.
Commit-Queue: Benoit L <firstname.lastname@example.org>
Reviewed-by: Matthew Cary <email@example.com>
1 file changed