[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:32 PDT 2024


================
@@ -607,6 +608,12 @@ Export LinkerDriver::parseExport(StringRef arg) {
       e.isPrivate = true;
       continue;
     }
+    if (tok.equals_insensitive("exportas")) {
+      if (rest.empty() || rest.contains(','))
----------------
cjacek wrote:

I improved it in the new version.

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


More information about the llvm-commits mailing list