#include #include #include #include #include ">

LLVM: lib/Support/LockFileManager.cpp File Reference (original) (raw)

#include "[llvm/Support/LockFileManager.h](LockFileManager%5F8h%5Fsource.html)"
#include "[llvm/ADT/SmallVector.h](SmallVector%5F8h%5Fsource.html)"
#include "[llvm/ADT/StringExtras.h](StringExtras%5F8h%5Fsource.html)"
#include "llvm/Config/llvm-config.h"
#include "[llvm/Support/Errc.h](Errc%5F8h%5Fsource.html)"
#include "[llvm/Support/ErrorOr.h](ErrorOr%5F8h%5Fsource.html)"
#include "[llvm/Support/ExponentialBackoff.h](ExponentialBackoff%5F8h%5Fsource.html)"
#include "[llvm/Support/FileSystem.h](FileSystem%5F8h%5Fsource.html)"
#include "[llvm/Support/IOSandbox.h](IOSandbox%5F8h%5Fsource.html)"
#include "[llvm/Support/MemoryBuffer.h](MemoryBuffer%5F8h%5Fsource.html)"
#include "[llvm/Support/Process.h](Process%5F8h%5Fsource.html)"
#include "[llvm/Support/Signals.h](Signals%5F8h%5Fsource.html)"
#include "[llvm/Support/raw_ostream.h](raw%5F%5Fostream%5F8h%5Fsource.html)"
#include <cerrno>
#include <chrono>
#include <ctime>
#include <memory>
#include <system_error>
#include <tuple>

Go to the source code of this file.

Macros
#define USE_OSX_GETHOSTUUID 0
Functions
static std::error_code getHostID (SmallVectorImpl< char > &HostID)

Macro Definition Documentation

USE_OSX_GETHOSTUUID

#define USE_OSX_GETHOSTUUID 0

Definition at line 39 of file LockFileManager.cpp.

Function Documentation

getHostID()

std::error_code getHostID ( SmallVectorImpl< char > & HostID) static

Definition at line 83 of file LockFileManager.cpp.

References llvm::SmallVectorImpl< T >::append(), llvm::StringRef::begin(), llvm::SmallVectorImpl< T >::clear(), llvm::StringRef::end(), and llvm::errnoAsErrorCode().

Referenced by llvm::LockFileManager::tryLock().