LSan is currently being ported to Emscripten and mostly works.
Enabling the support in upstream would simplify testing.
Oh, can we have a test case?
LSan is supposed to be linked in to replace some C library functions, and does not change the generated LLVM IR code, so there is nothing to actually test in LLVM.
I see. Do you want me to commit this, or you are gonna get a commit access?
It's not urgent, so I am willing to wait a day or two for commit access. If I still can't get access by then, I'll ask someone else to commit this.