[all-commits] [llvm/llvm-project] 5e5b2c: [WebAssembly] Prevent data inside text sections in...
Wouter van Oortmerssen via All-commits
all-commits at lists.llvm.org
Fri Feb 5 13:49:07 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5e5b2cb131c2eec056358d25f946bb208cb8a381
https://github.com/llvm/llvm-project/commit/5e5b2cb131c2eec056358d25f946bb208cb8a381
Author: Wouter van Oortmerssen <aardappel at gmail.com>
Date: 2021-02-05 (Fri, 05 Feb 2021)
Changed paths:
M llvm/include/llvm/MC/MCSymbolWasm.h
M llvm/lib/MC/WasmObjectWriter.cpp
M llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
M llvm/test/MC/WebAssembly/basic-assembly-errors.s
Log Message:
-----------
[WebAssembly] Prevent data inside text sections in assembly
This is not supported in Wasm, unless the data was encoded instructions, but that wouldn't work with the assembler's other functionality (enforcing nesting etc.).
Fixes: https://bugs.llvm.org/show_bug.cgi?id=48971
Differential Revision: https://reviews.llvm.org/D95838
More information about the All-commits
mailing list