[all-commits] [llvm/llvm-project] e12e0d: [BOLT] Fix thread-safety of MarkRAStates (#165368)
Gergely Bálint via All-commits
all-commits at lists.llvm.org
Tue Oct 28 04:44:13 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e12e0d39a718703f6b78fa586efafebad0b14bad
https://github.com/llvm/llvm-project/commit/e12e0d39a718703f6b78fa586efafebad0b14bad
Author: Gergely Bálint <gergely.balint at arm.com>
Date: 2025-10-28 (Tue, 28 Oct 2025)
Changed paths:
M bolt/include/bolt/Passes/MarkRAStates.h
M bolt/lib/Passes/MarkRAStates.cpp
Log Message:
-----------
[BOLT] Fix thread-safety of MarkRAStates (#165368)
The pass calls setIgnored() on functions in parallel, but setIgnored is
not thread safe. This patch adds a std::mutex to guard setIgnored calls.
Fixes: #165362
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list