[PATCH] D54360: [WebAssembly] Assed WasmAsmParser.
Wouter van Oortmerssen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 9 15:11:09 PST 2018
aardappel created this revision.
aardappel added reviewers: dschuff, sbc100.
Herald added subscribers: llvm-commits, sunfish, aheejin, eraman, jgravelle-google, mgorny.
This is to replace the ELFAsmParser that WebAssembly was using, which
so far was a stub that didn't do anything, and couldn't work correctly
with wasm.
This new class is there to implement generic directives related to
wasm as a binary format. Wasm target specific directives are still
parsed in WebAssemblyAsmParser as before. The two classes now
cooperate more correctly too.
Also implemented .result which was missing. Any unknown directives
will now result in errors.
Repository:
rL LLVM
https://reviews.llvm.org/D54360
Files:
lib/MC/MCParser/AsmParser.cpp
lib/MC/MCParser/CMakeLists.txt
lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
test/CodeGen/WebAssembly/inline-asm-roundtrip.ll
test/MC/WebAssembly/basic-assembly.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54360.173454.patch
Type: text/x-patch
Size: 9289 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181109/7650cebf/attachment.bin>
More information about the llvm-commits
mailing list