ΒΆExpected<llvm::lto::NativeObjectCache> localCache(
    llvm::StringRef CacheDirectoryPath,
    llvm::lto::AddBufferFn AddBuffer)

Description

Create a local file system cache which uses the given cache directory and file callback. This function also creates the cache directory if it does not already exist.

Declared at: llvm/include/llvm/LTO/Caching.h:33

Parameters

llvm::StringRef CacheDirectoryPath
llvm::lto::AddBufferFn AddBuffer