[PATCH] D129119: Add llvm::llvm_fast_shutdown()
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 29 13:36:18 PDT 2022
efriedma added a comment.
Do we also want to handle dumping debug counters, if that's enabled?
================
Comment at: llvm/lib/Support/Parallel.cpp:32
+
+static bool DefaultExecutorInitialized = false;
+
----------------
Do we need to worry about races accessing this boolean?
================
Comment at: llvm/lib/Support/Statistic.cpp:100
-static ManagedStatic<StatisticInfo> StatInfo;
-static ManagedStatic<sys::SmartMutex<true> > StatLock;
+static bool StatisticInfoInitialized = false;
+
----------------
Do we need to worry about data races accessing this boolean?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129119/new/
https://reviews.llvm.org/D129119
More information about the llvm-commits
mailing list