diff options
author | Jan Svoboda <jan_svoboda@apple.com> | 2025-03-13 16:15:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-13 16:15:42 -0700 |
commit | d0c869521ce0b15d0d5d152d4fbfcc0f75377e91 (patch) | |
tree | a29d12a715f35e8f61d130fa0e76f46274cbbbb7 /llvm/lib/Support/Timer.cpp | |
parent | e26bcf1627cc09068bd3c9d26984c36cbae07565 (diff) | |
download | llvm-d0c869521ce0b15d0d5d152d4fbfcc0f75377e91.zip llvm-d0c869521ce0b15d0d5d152d4fbfcc0f75377e91.tar.gz llvm-d0c869521ce0b15d0d5d152d4fbfcc0f75377e91.tar.bz2 |
[Support] Prevent leaking unique lock files (#130984)
Prior to this PR, failing to get the host ID would leave the unique lock
file on the file system. This is now fixed by constructing
`RemoveUniqueLockFileOnSignal` earlier. This PR also removes one call to
`sys::fs::remove()` that is now redundant and another that was redundant
even before this patch.
Diffstat (limited to 'llvm/lib/Support/Timer.cpp')
0 files changed, 0 insertions, 0 deletions