HomePhabricator

[WebAssembly] Fix debug locations for ExplicitLocals pass

Authored by aardappel on Oct 25 2021, 2:00 PM.

Description

[WebAssembly] Fix debug locations for ExplicitLocals pass

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

Differential Revision: https://reviews.llvm.org/D113208

Details