-
Notifications
You must be signed in to change notification settings - Fork 54
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@644de6ad1c75
Updates LLVM usage to match [644de6ad1c75](llvm/llvm-project@644de6ad1c75) PiperOrigin-RevId: 713739019
- Loading branch information
1 parent
48c8f20
commit 1fd5c12
Showing
2 changed files
with
17 additions
and
1 deletion.
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
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 +1,17 @@ | ||
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>(); |