|
LLVM 24.0.0git
|
Implements ObjectStore and ActionCache on top of a dynamically loaded plugin that provides the C API in "llvm-c/CAS/PluginAPI_functions.h".
More...
#include "PluginAPI.h"#include "llvm/ADT/ScopeExit.h"#include "llvm/CAS/ActionCache.h"#include "llvm/CAS/ObjectStore.h"#include "llvm/Support/DynamicLibrary.h"#include "llvm/Support/Error.h"#include "PluginAPI_functions.def"Go to the source code of this file.
Macros | |
| #define | CASPLUGINAPI_FUNCTION(name, required) |
Functions | |
| static StringRef | toStringRef (llcas_digest_t c_digest) |
Implements ObjectStore and ActionCache on top of a dynamically loaded plugin that provides the C API in "llvm-c/CAS/PluginAPI_functions.h".
The asynchronous entry points of the plugin API are not called yet; they will be wired up once ObjectStore and ActionCache grow asynchronous interfaces.
Definition in file PluginCAS.cpp.
| #define CASPLUGINAPI_FUNCTION | ( | name, | |
| required ) |
|
static |
Definition at line 253 of file PluginCAS.cpp.
References llcas_digest_t::data, and llcas_digest_t::size.
Referenced by llvm::cas::ObjectStore::getDataString(), and llvm::cas::ObjectStore::readData().