LLVM 23.0.0git
InstrumentorConfigFile.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::instrumentor

Functions

void llvm::instrumentor::writeConfigToJSON (InstrumentationConfig &IConf, StringRef OutputFile, LLVMContext &Ctx)
 Write the configuration in /p IConf to the file with path OutputFile.
bool llvm::instrumentor::readConfigFromJSON (InstrumentationConfig &IConf, StringRef InputFile, LLVMContext &Ctx)
 Read the configuration from the file with path InputFile into /p IConf.