[all-commits] [llvm/llvm-project] f4d599: [Support] Do not remove lock file on failure (#130...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Wed Mar 12 08:51:22 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f4d599cda90aa06d1e1a95474a0ee3a4053e77dd
      https://github.com/llvm/llvm-project/commit/f4d599cda90aa06d1e1a95474a0ee3a4053e77dd
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2025-03-12 (Wed, 12 Mar 2025)

  Changed paths:
    M clang/lib/Frontend/CompilerInstance.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUSplitModule.cpp

  Log Message:
  -----------
  [Support] Do not remove lock file on failure (#130834)

Clients of `LockFileManager` call `unsafeRemoveLockFile()` whenever
`tryLock()` fails. However looking at the code, there are no scenarios
where this actually does something useful. This PR removes such calls.



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