bylaws added inline comments.

================
Comment at: llvm/lib/Target/AArch64/AArch64MCInstLower.cpp:59
+
+    StringRef Name = Printer.getSymbol(GV)->getName();
+    // Don't mangle ARM64EC runtime functions.
----------------
This mangling logic is also necessary for dllimported functions, as is visible 
if you compile:

__declspec(dllimport) long UnhandledExceptionFilter (void *ExceptionInfo);

void test() {
    UnhandledExceptionFilter(0);
}

With cl.exe /c and run dumpbin, without this link.exe will fail


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157547

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to