[lld] [LLD][COFF] Add support for EXPORTAS import name type. (PR #86541)

Daniel Paoliello via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 25 10:50:43 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);
----------------
dpaoliello wrote:

This doesn't seem to match what the comment above is describing - is `EXPORTAS` allowed in this "simple case"?

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


More information about the llvm-commits mailing list