[PATCH] D140679: [MC] [llvm-ml] Add support for the extrn keyword

Eric Astor via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 29 07:18:11 PST 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGa0b7bd4b0704: [MC] [llvm-ml] Add support for the extrn keyword (authored by glandium, committed by epastor).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140679

Files:
  llvm/lib/MC/MCParser/MasmParser.cpp


Index: llvm/lib/MC/MCParser/MasmParser.cpp
===================================================================
--- llvm/lib/MC/MCParser/MasmParser.cpp
+++ llvm/lib/MC/MCParser/MasmParser.cpp
@@ -6720,6 +6720,7 @@
   DirectiveKindMap["even"] = DK_EVEN;
   DirectiveKindMap["org"] = DK_ORG;
   DirectiveKindMap["extern"] = DK_EXTERN;
+  DirectiveKindMap["extrn"] = DK_EXTERN;
   DirectiveKindMap["public"] = DK_PUBLIC;
   // DirectiveKindMap[".comm"] = DK_COMM;
   DirectiveKindMap["comment"] = DK_COMMENT;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140679.485613.patch
Type: text/x-patch
Size: 505 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221229/7c0c6265/attachment.bin>


More information about the llvm-commits mailing list