[clang] [compiler-rt] [llvm] [InstrProf][Driver] Make InstrProfiling behave with TSan (PR #230582)
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 5 12:15:07 PST 2026
yxsamliu wrote:
Sorry, I hadn’t thought this through fully. Defaulting to atomic updates under TSan makes sense, but if a user explicitly asks for `-fprofile-update=single`, we should respect that choice. Could we honor it and warn about the possible profiling-counter races instead?
https://github.com/llvm/llvm-project/pull/230582
More information about the cfe-commits
mailing list