This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Identify COMDATs by index rather than string. NFC
ClosedPublic

Authored by ncw on Mar 9 2018, 5:20 PM.

Diff Detail

Event Timeline

ncw created this revision.Mar 9 2018, 5:20 PM
sbc100 accepted this revision.Mar 9 2018, 7:11 PM

Nice! LVGTM

lib/Object/WasmObjectFile.cpp
928

I feel like make comment here might make sense. Something like "The rest of these fields get set in the linking metadata section"?

tools/obj2yaml/wasm2yaml.cpp
69

Should this be a little more strict? Like if (Func.Comdat != UINT32_MAX) more explicitly expressed the indent no?

84

ditto

This revision is now accepted and ready to land.Mar 9 2018, 7:11 PM
ncw marked 3 inline comments as done.Mar 14 2018, 7:02 AM
This revision was automatically updated to reflect the committed changes.