[PATCH] D149119: [CMake] Use llvm-nm to extract symbols for staged LTO builds on Windows

Tomas Matheson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 26 02:26:03 PDT 2023


tmatheson added a comment.

In D149119#4297540 <https://reviews.llvm.org/D149119#4297540>, @ikudrin wrote:

> If I understand it right, we might not be able to build `llvm-nm` in cases like cross-platform building, right?

LLVM has a way to build tools that need to run on the build machine as part of the build (`tablegen` for example), `llvm-nm` could be added to that system and then it would be available when `extract_symbols.py` is run. It would be an issue if `llvm-nm` ever had to depend on `extract_symbols.py` but that is not currently the case afaik.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149119



More information about the cfe-commits mailing list