[PATCH] D58312: [WebAssembly] Generalize section ordering constraints

Thomas Lively via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 15 15:49:47 PST 2019


tlively created this revision.
tlively added reviewers: aheejin, dschuff.
Herald added subscribers: llvm-commits, jdoerfert, sunfish, hiraditya, jgravelle-google, sbc100.
Herald added a project: LLVM.

Changes from using a total ordering of known sections to using a
dependency graph approach. This allows our tools to accept and process
binaries that are compliant with the spec and tool conventions that
would have been previously rejected. It also means our own tools can
do less work to enforce an artificially imposed ordering. Using a
general mechanism means fewer special cases and exceptions in the
ordering logic.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D58312

Files:
  llvm/include/llvm/Object/Wasm.h
  llvm/lib/Object/WasmObjectFile.cpp
  llvm/test/MC/WebAssembly/relocs_and_producers.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58312.187104.patch
Type: text/x-patch
Size: 7125 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190215/c4fd6f7d/attachment.bin>


More information about the llvm-commits mailing list