Skip to content

Commit

Permalink
Integrate LLVM at llvm/llvm-project@644de6ad1c75
Browse files Browse the repository at this point in the history
Updates LLVM usage to match
[644de6ad1c75](llvm/llvm-project@644de6ad1c75)

PiperOrigin-RevId: 713739019
  • Loading branch information
d0k authored and copybara-github committed Jan 9, 2025
1 parent 48c8f20 commit 1fd5c12
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bazel/import_llvm.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ load(

def import_llvm(name):
"""Imports LLVM."""
LLVM_COMMIT = "faa3f752896903c2d09d389970d3d0ebf50a1073"
LLVM_COMMIT = "644de6ad1c758d3bf754d7d50b98c555df5231b1"

new_git_repository(
name = name,
Expand Down
16 changes: 16 additions & 0 deletions patches/llvm.patch
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>();

0 comments on commit 1fd5c12

Please sign in to comment.