[PATCH] D54924: [WebAssembly] Check if the section order is correct
Heejin Ahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 26 18:08:15 PST 2018
aheejin created this revision.
aheejin added a reviewer: sbc100.
Herald added subscribers: llvm-commits, sunfish, jgravelle-google, mgorny, dschuff.
This patch checks if the section order is correct when reading a wasm
object file in `WasmObjectFile` and converting YAML to wasm object in
yaml2wasm. (It is not possible to check when reading YAML because it is
handled exclusively by the YAML reader.)
Repository:
rL LLVM
https://reviews.llvm.org/D54924
Files:
include/llvm/BinaryFormat/Wasm.h
lib/BinaryFormat/Wasm.cpp
lib/Object/WasmObjectFile.cpp
test/Object/Inputs/WASM/invalid-section-order.wasm
test/Object/wasm-invalid-section-order.test
test/ObjectYAML/wasm/invalid_section_order.yaml
tools/yaml2obj/CMakeLists.txt
tools/yaml2obj/yaml2wasm.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54924.175373.patch
Type: text/x-patch
Size: 5112 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181127/27aea94f/attachment.bin>
More information about the llvm-commits
mailing list