[all-commits] [llvm/llvm-project] 129311: [libSupport] make CallBacksToRun static local

Tal Kedar via All-commits all-commits at lists.llvm.org
Sat Mar 19 13:36:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 129311ac0bbbea78d980cb44565c0daeab924511
      https://github.com/llvm/llvm-project/commit/129311ac0bbbea78d980cb44565c0daeab924511
  Author: Tal Kedar <tal.kedar at k2dq.com>
  Date:   2022-03-19 (Sat, 19 Mar 2022)

  Changed paths:
    M llvm/lib/Support/Signals.cpp

  Log Message:
  -----------
  [libSupport] make CallBacksToRun static local

In order to allow compiling with -Werror=global-constructors with c++20 and above.

Discussion: https://discourse.llvm.org/t/llvm-lib-support-signals-cpp-fails-to-compile-due-to-werror-global-constructors/61070

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list