1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/tools/yaml2obj
Heejin Ahn bd36255223 [WebAssembly] Check if the section order is correct
Summary:
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.)

This checks the ordering of all known sections (core sections + known
custom sections). This also adds section ID DataCount section that will
be scheduled to be added in near future.

Reviewers: sbc100

Subscribers: dschuff, mgorny, jgravelle-google, sunfish, llvm-commits

Differential Revision: https://reviews.llvm.org/D54924

llvm-svn: 349221
2018-12-15 00:58:12 +00:00
..
CMakeLists.txt Resubmit "[codeview] Make obj2yaml/yaml2obj support .debug$S..." 2017-06-14 15:59:27 +00:00
yaml2coff.cpp [yaml2obj] Treat COFF/ARM64 as a 64 bit architecture 2018-11-27 20:47:38 +00:00
yaml2elf.cpp [yaml2obj] format some codes NFC. 2018-12-07 11:04:22 +00:00
yaml2macho.cpp llvm::sort(C.begin(), C.end(), ...) -> llvm::sort(C, ...) 2018-09-27 02:13:45 +00:00
yaml2obj.cpp Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
yaml2obj.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
yaml2wasm.cpp [WebAssembly] Check if the section order is correct 2018-12-15 00:58:12 +00:00