[all-commits] [llvm/llvm-project] e29e1a: [BOLT] Fix thread-safety of MarkRAStates

Gergely Bálint via All-commits all-commits at lists.llvm.org
Tue Oct 28 03:56:30 PDT 2025


  Branch: refs/heads/users/bgergely0/bolt-thread-safe-ignore-m
  Home:   https://github.com/llvm/llvm-project
  Commit: e29e1ab06e3570cf6c76634f8954b4c381fbbb33
      https://github.com/llvm/llvm-project/commit/e29e1ab06e3570cf6c76634f8954b4c381fbbb33
  Author: Gergely Balint <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

The pass calls setIgnored() on functions in parallel, but setIgnored is
not thread safe. The patch adds a 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