[PATCH] D158004: llvm-nm ignore the Import symbol file for the --export-symbol option.

Hubert Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 25 15:00:50 PDT 2023


hubert.reinterpretcast added a comment.

In D158004#4616434 <https://reviews.llvm.org/D158004#4616434>, @jhenderson wrote:

> @DiggerLin/@hubert.reinterpretcast et al, what is preventing the change to clang to not call llvm-nm with import files?

The Clang driver is only one client of the functionality. Using `llvm-nm` to address the export-list creation process in other contexts was the intent. A common implementation within `llvm-nm` reduces "wheel-reinvention". It is also the case that the original utility used by the IBM compilers for AIX export list creation ignored import files.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158004



More information about the llvm-commits mailing list