-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate LLVM at llvm/llvm-project@a531800344dc
Updates LLVM usage to match [a531800344dc](llvm/llvm-project@a531800344dc) PiperOrigin-RevId: 714047103
- Loading branch information
1 parent
462ccb2
commit cbce6a9
Showing
2 changed files
with
2 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1 @@ | ||
Auto generated patch. Do not edit or delete it, even if empty. | ||
diff -ruN --strip-trailing-cr a/llvm/lib/Support/Timer.cpp b/llvm/lib/Support/Timer.cpp | ||
--- a/llvm/lib/Support/Timer.cpp | ||
+++ b/llvm/lib/Support/Timer.cpp | ||
@@ -507,11 +507,11 @@ | ||
// Order of these members and initialization below is important. For example | ||
// the DefaultTimerGroup uses the TimerLock. Most of these also depend on the | ||
// options above. | ||
+ std::once_flag InitDeferredFlag; | ||
std::unique_ptr<SignpostEmitter> SignpostsPtr; | ||
std::unique_ptr<sys::SmartMutex<true>> TimerLockPtr; | ||
std::unique_ptr<TimerGroup> DefaultTimerGroupPtr; | ||
std::unique_ptr<Name2PairMap> NamedGroupedTimersPtr; | ||
- std::once_flag InitDeferredFlag; | ||
TimerGlobals &initDeferred() { | ||
std::call_once(InitDeferredFlag, [this]() { | ||
SignpostsPtr = std::make_unique<SignpostEmitter>(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters