This is required in order to enable relocs to be validated
as they are read in.
Also update tests with new section ordering.
Differential D43940
[WebAssembly] Reorder reloc sections to come between symtab and name ncw on Mar 1 2018, 7:01 AM. Authored by
Details This is required in order to enable relocs to be validated Also update tests with new section ordering.
Diff Detail
Event Timeline
Comment Actions Updated to pull out check on function type indexes into another review, and responded to requests for changes
Comment Actions Updated to pull out all the validation stuff into another patch, this just reorders the output to be: linking,relocs,name.
Comment Actions Committed without the change to yaml2wasm. Sam - are you going to do the work to split the relocs into "chunks", ie explicitly associate them with their function/segment? That would be great if you could do that. And the link to this issue is, it would be great if at the same time you could change the YAML to put the relocations in the "right" place, rather than associating them with the section they apply to. That's ultimately the "right" fix for the ordering of the YAML I think. I've reverted by hack in yaml2wasm, it's just not good I agree. If the YAML actually printed the relocations in the same place in the YAML that they appear in the WASM file, that would help out. |