ZequanWu wrote:

Hi. this change caused chromium windows pgo build to fail: 
https://g-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.

https://github.com/llvm/llvm-project/pull/111332
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to