[WebAssembly] Second phase of implemented extended const proposal
authorSam Clegg <sbc@chromium.org>
Thu, 10 Mar 2022 02:11:44 +0000 (18:11 -0800)
committerSam Clegg <sbc@chromium.org>
Mon, 14 Mar 2022 15:55:47 +0000 (08:55 -0700)
commit9504ab32b76646116585cae4298f700cf46721ab
treef61eb0df890fe36ce4458f6599ac12e24d0713f5
parent8361c5da30588d3d4a48eae648f53be1feb5cfad
[WebAssembly] Second phase of implemented extended const proposal

This change continues to lay the ground work for supporting extended
const expressions in the linker.

The included test covers object file reading and writing and the YAML
representation.

Differential Revision: https://reviews.llvm.org/D121349
15 files changed:
lld/wasm/InputElement.h
lld/wasm/InputFiles.cpp
lld/wasm/OutputSections.cpp
lld/wasm/SyntheticSections.cpp
lld/wasm/WriterUtils.cpp
lld/wasm/WriterUtils.h
llvm/include/llvm/BinaryFormat/Wasm.h
llvm/include/llvm/ObjectYAML/WasmYAML.h
llvm/lib/MC/WasmObjectWriter.cpp
llvm/lib/Object/WasmObjectFile.cpp
llvm/lib/ObjectYAML/WasmEmitter.cpp
llvm/lib/ObjectYAML/WasmYAML.cpp
llvm/test/ObjectYAML/wasm/extended_const_expressions.yaml [new file with mode: 0644]
llvm/tools/llvm-readobj/WasmDumper.cpp
llvm/tools/obj2yaml/wasm2yaml.cpp