diff options
author | Serge Pavlov <sepavloff@gmail.com> | 2020-04-29 11:26:19 +0700 |
---|---|---|
committer | Serge Pavlov <sepavloff@gmail.com> | 2020-07-30 13:42:20 +0700 |
commit | 032ed39defc7403b94c367fa43432606c418e946 (patch) | |
tree | e7f0c0638298540d4d46b570af559fba91a64b34 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 3678ad88a6a1cbc8f5171519666b10e8997289dc (diff) | |
download | llvm-032ed39defc7403b94c367fa43432606c418e946.zip llvm-032ed39defc7403b94c367fa43432606c418e946.tar.gz llvm-032ed39defc7403b94c367fa43432606c418e946.tar.bz2 |
[Support] Class to facilitate file locking
This change define RAII class `FileLocker` and methods `lock` and
`tryLockFor` of the class `raw_fd_stream` to facilitate using file locks.
Differential Revision: https://reviews.llvm.org/D79066
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions