This is an archive of the discontinued LLVM Phabricator instance.

Remove SymbolTable::addUndefined and add SymbolTable::addUndefined{Function,Global}
AbandonedPublic

Authored by ruiu on Feb 20 2018, 12:43 PM.

Details

Reviewers
sbc100
Summary

This patch should make the flow of control simpler, and this should
also make it clear that which information is actually used by the
symbol table. For example, previously, WasmSignature wasn't used
for globals.

Event Timeline

ruiu created this revision.Feb 20 2018, 12:43 PM
ruiu updated this revision to Diff 135126.Feb 20 2018, 12:48 PM
  • use toString() instead of getName().
ruiu updated this revision to Diff 135127.Feb 20 2018, 12:54 PM
  • removed unused parameter from shouldReplace

Sorry I didn't see this earlier. Looks good but will need rebase since the symtab change langed.

Still planning on landing this?

ruiu abandoned this revision.Apr 5 2018, 12:37 PM

I think this is obsolete as most of the code has already been submitted.