[PATCH] D95838: [WebAssembly] Prevent data inside text sections in assembly

Wouter van Oortmerssen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 4 14:46:43 PST 2021


aardappel updated this revision to Diff 321571.
aardappel added a comment.

- Moved checking of type to AsmParser label parsing.
- Improved MCSymbolWasm default type handling slightly.
- Added error test case.


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

https://reviews.llvm.org/D95838

Files:
  llvm/include/llvm/MC/MCSymbolWasm.h
  llvm/lib/MC/WasmObjectWriter.cpp
  llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
  llvm/test/MC/WebAssembly/basic-assembly-errors.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95838.321571.patch
Type: text/x-patch
Size: 5545 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210204/89787bc6/attachment.bin>


More information about the llvm-commits mailing list