[PATCH] D149119: [CMake] Use LLVM own tools in extract_symbols.py

Igor Kudrin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 8 00:08:27 PDT 2023


ikudrin updated this revision to Diff 520277.
ikudrin retitled this revision from "[CMake] Use llvm-nm to extract symbols for staged LTO builds on Windows" to "[CMake] Use LLVM own tools in extract_symbols.py".
ikudrin edited the summary of this revision.
ikudrin added reviewers: chandlerc, beanz, rnk, stevewan, hubert.reinterpretcast, DavidSpickett.
ikudrin added a comment.
Herald added a subscriber: MaskRay.
Herald added a reviewer: jhenderson.

- Reworked the patch to always use `llvm-nm` to extract symbols and `llvm-readobj` to detect targeting 32-bit Windows.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149119/new/

https://reviews.llvm.org/D149119

Files:
  llvm/CMakeLists.txt
  llvm/cmake/modules/AddLLVM.cmake
  llvm/cmake/modules/CrossCompile.cmake
  llvm/tools/llvm-nm/CMakeLists.txt
  llvm/tools/llvm-readobj/CMakeLists.txt
  llvm/tools/llvm-shlib/CMakeLists.txt
  llvm/utils/extract_symbols.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149119.520277.patch
Type: text/x-patch
Size: 18081 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230508/b3566f37/attachment-0001.bin>


More information about the cfe-commits mailing list