15 #ifndef LLVM_LTO_CACHING_H 16 #define LLVM_LTO_CACHING_H 28 typedef std::function<void(unsigned Task, std::unique_ptr<MemoryBuffer> MB)>
This class represents lattice values for constants.
std::function< void(unsigned Task, std::unique_ptr< MemoryBuffer > MB)> AddBufferFn
This type defines the callback to add a pre-existing native object file (e.g.
Tagged union holding either a T or a Error.
Expected< NativeObjectCache > localCache(StringRef CacheDirectoryPath, AddBufferFn AddBuffer)
Create a local file system cache which uses the given cache directory and file callback.
StringRef - Represent a constant reference to a string, i.e.