[lld] [LLD][COFF] Add support for EXPORTAS import name type. (PR #86541)
Jacek Caban via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 25 12:40:18 PDT 2024
================
@@ -1039,12 +1040,14 @@ void LinkerDriver::parseModuleDefs(StringRef path) {
if (!e1.ExtName.empty() && e1.ExtName != e1.Name &&
StringRef(e1.Name).contains('.')) {
e2.name = saver().save(e1.ExtName);
+ e2.exportAs = saver().save(e1.ExportAs);
----------------
cjacek wrote:
It is allowed with MSVC linker. It's the same preexisting problem as in #86535, but when using .def files. I created #86564 with a fix for that (which allows skipping this part as it no longer uses a separated branch). I rebased this PR on top of that.
https://github.com/llvm/llvm-project/pull/86541
More information about the llvm-commits
mailing list