This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Fix debug locations for ExplicitLocals pass (#2)
ClosedPublic

Authored by aardappel on Nov 4 2021, 11:20 AM.

Details

Summary

This is a reworked version of the reverted patch: https://reviews.llvm.org/D112487
Note that
a) it doesn't need the test changes anymore, and
b) I checked at least locally it passes other.test_pthread_lsan_leak

Diff Detail

Event Timeline

aardappel created this revision.Nov 4 2021, 11:20 AM
aardappel requested review of this revision.Nov 4 2021, 11:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 4 2021, 11:20 AM
dschuff accepted this revision.Nov 4 2021, 11:32 AM

LGTM. Let's get this in to fix https://bugs.chromium.org/p/chromium/issues/detail?id=1251909 and then we can investigate the Binaryen bug (and consider whether this or another approach is actually the best for these stackified local.gets) separately.

This revision is now accepted and ready to land.Nov 4 2021, 11:32 AM
This revision was landed with ongoing or failed builds.Nov 4 2021, 11:38 AM
This revision was automatically updated to reflect the committed changes.