Skip to content

Commit

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

PiperOrigin-RevId: 714047103
  • Loading branch information
d0k authored and copybara-github committed Jan 10, 2025
1 parent 462ccb2 commit cbce6a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
16 changes: 0 additions & 16 deletions third_party/llvm/generated.patch
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>();
4 changes: 2 additions & 2 deletions third_party/llvm/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ load("//third_party:repo.bzl", "tf_http_archive")

def repo(name):
"""Imports LLVM."""
LLVM_COMMIT = "644de6ad1c758d3bf754d7d50b98c555df5231b1"
LLVM_SHA256 = "8ccd3cd59205f36019192d9dabd4dd49603fc4345fb57cdf323a55570cb572bd"
LLVM_COMMIT = "a531800344dc54e9c197a13b22e013f919f3f5e1"
LLVM_SHA256 = "74a873f8d4c677d192e9bfade095af3363c76b0fb23c5f6260121d74322744bc"

tf_http_archive(
name = name,
Expand Down

0 comments on commit cbce6a9

Please sign in to comment.