[llvm] [aarch64][win] Add support for import call optimization (equivalent to MSVC /d2ImportCallOptimization) (PR #121516)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 2 17:33:19 PST 2025


================
@@ -577,6 +580,24 @@ bool COFFAsmParser::parseDirectiveSymIdx(StringRef, SMLoc) {
   return false;
 }
 
+bool COFFAsmParser::parseDirectiveImpCall(StringRef, SMLoc) {
+  if (!getContext().getObjectFileInfo()->getImportCallSection())
+    return TokError("target doesn't have an import call section");
----------------
arsenm wrote:

Avoid ' in error messages 

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


More information about the llvm-commits mailing list