[clang] [compiler-rt] [lld] [llvm] [Coverage][WebAssembly] Add initial support for WebAssembly/WASI (PR #111332)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 21 12:14:01 PDT 2024


mstorsjo wrote:

> Hi. this change caused chromium windows pgo build to fail: https://issues.chromium.org/issues/373478548 and we see the profile runtime error message:
> 
> ```
> LLVM Profile Error: Invalid profile data to merge
> LLVM Profile Error: Profile Merging of file default_16487515506031793746_0.profraw failed: File exists
> LLVM Profile Error: Failed to write file "default_16487515506031793746_0.profraw": File exists
> ```
> 
> Looks like profile writing race condition. Though this change touched compiler-rt/lib/profile/InstrProfilingUtil.c, I don't see how this will affect windows.

I would expect that https://github.com/llvm/llvm-project/pull/112695 fixes that issue.

https://github.com/llvm/llvm-project/pull/111332


More information about the llvm-commits mailing list