This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Ensure all .debug_XXX section has proper symbol names
ClosedPublic

Authored by yurydelendik on May 7 2018, 12:16 PM.

Details

Summary

Updated wasm section symbols names to match section name, and ensure all
referenced sections will have a symbol (per DWARF spec v3, Figure 43)

Diff Detail

Repository
rL LLVM

Event Timeline

yurydelendik created this revision.May 7 2018, 12:16 PM
sbc100 accepted this revision.May 7 2018, 12:31 PM

lgtm. I have a followup CL to clean this up even more but this is a good intermediate change.

This revision is now accepted and ready to land.May 7 2018, 12:31 PM

Is there some reason this doesn't effect any of our tests? Can we modify one of the tests pick up this change?

This revision was automatically updated to reflect the committed changes.

I added a test to verify that the name of the section and the begin symol were matching