[all-commits] [llvm/llvm-project] c8ff96: [BOLT][AArch64] add lock to FixRelaxations pass

treapster via All-commits all-commits at lists.llvm.org
Wed Jan 11 02:14:26 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c8ff968b8497099c68c8352c8c1a794537c3a389
      https://github.com/llvm/llvm-project/commit/c8ff968b8497099c68c8352c8c1a794537c3a389
  Author: Denis Revunov <revunov.denis at huawei-partners.com>
  Date:   2023-01-11 (Wed, 11 Jan 2023)

  Changed paths:
    M bolt/lib/Passes/FixRelaxationPass.cpp

  Log Message:
  -----------
  [BOLT][AArch64] add lock to FixRelaxations pass

Since the pass is multithreaded, BC.Ctx must be protected. Otherwise we get crashes when processing.

Reviewed by: yota9

Differential Revision: https://reviews.llvm.org/D141465




More information about the All-commits mailing list