[lld] [llvm] [llvm-readobj][Object][COFF] Print COFF import library symbol export name. (PR #78769)

Jacek Caban via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 19 17:13:40 PST 2024


cjacek wrote:

> Is `IMPORT_NAME_NOPREFIX` logic restricted to i386 (which actually uses `_@?`?

It is restricted on writer side, in tools that create import libraries (so I wouldn't expect such import libraries to be actually used). Both ignoring it on non-i386 and not restricting it would seem fine to me. LLD, when it parses import libraries in `ImportFile::parse`, doesn't restrict `IMPORT_NAME_NOPREFIX` to i386, so I did the same here.

https://github.com/llvm/llvm-project/pull/78769


More information about the llvm-commits mailing list