[llvm-dev] LLD WASM linker has a deadlock race condition bug
Rui Ueyama via llvm-dev
llvm-dev at lists.llvm.org
Tue Apr 16 00:46:48 PDT 2019
I replied to you on the bug report thread. A suspicious thing I found in
lld/wasm is that it calls parallelForEach from a callback function of
parallelForEach, although that function is not reentrant.
On Tue, Apr 16, 2019 at 4:35 PM Andrew Kelley via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> I would like to bring attention to this bug report:
> WebAssembly is getting quite some attention in the 8.0.0 release cycle
> of LLVM thanks to the target being promoted to non-experimental.
> Consequently the WASM linker code in LLD is getting some more broad
> In the Zig frontend I've added --no-threads for now, to work around the
> Please let me know if there is more information I can provide to help
> diagnose and fix this bug in LLD. The repro case I uploaded in the issue
> tracker triggers the deadlock about 1 in 6 times for me.
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev