[PATCH] D52911: [WebAssembly] Fixed missing "global" symbol type in AsmParser.
Wouter van Oortmerssen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 4 15:32:17 PDT 2018
aardappel created this revision.
aardappel added reviewers: aheejin, dschuff.
Herald added subscribers: llvm-commits, jgravelle-google, sbc100.
These are emitted by the wasm backend for e.g.
__stack_pointer at GLOBAL which previously wasn't accepted by the
assembler.
Repository:
rL LLVM
https://reviews.llvm.org/D52911
Files:
lib/MC/MCExpr.cpp
Index: lib/MC/MCExpr.cpp
===================================================================
--- lib/MC/MCExpr.cpp
+++ lib/MC/MCExpr.cpp
@@ -419,6 +419,7 @@
.Case("hi8", VK_AVR_HI8)
.Case("hlo8", VK_AVR_HLO8)
.Case("function", VK_WebAssembly_FUNCTION)
+ .Case("global", VK_WebAssembly_GLOBAL)
.Case("typeindex", VK_WebAssembly_TYPEINDEX)
.Case("gotpcrel32 at lo", VK_AMDGPU_GOTPCREL32_LO)
.Case("gotpcrel32 at hi", VK_AMDGPU_GOTPCREL32_HI)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52911.168393.patch
Type: text/x-patch
Size: 467 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181004/b15d09ce/attachment.bin>
More information about the llvm-commits
mailing list