[all-commits] [llvm/llvm-project] dafb56: [Support] Return `LockFileManager` errors right aw...
Jan Svoboda via All-commits
all-commits at lists.llvm.org
Tue Mar 11 13:50:07 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dafb566710cd03b7fbb4b187a91f32be9452fd8c
https://github.com/llvm/llvm-project/commit/dafb566710cd03b7fbb4b187a91f32be9452fd8c
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2025-03-11 (Tue, 11 Mar 2025)
Changed paths:
M clang/lib/Frontend/CompilerInstance.cpp
M clang/lib/Serialization/GlobalModuleIndex.cpp
M llvm/include/llvm/Support/LockFileManager.h
M llvm/lib/Support/LockFileManager.cpp
M llvm/lib/Target/AMDGPU/AMDGPUSplitModule.cpp
M llvm/unittests/Support/LockFileManagerTest.cpp
Log Message:
-----------
[Support] Return `LockFileManager` errors right away (#130627)
This patch removes some internal state out of `LockFileManager` by
moving the locking code from the constructor into new member function
`tryLock()` which returns the errors right away. This simplifies and
modernizes the interface.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list