llvm::instrumentor::readConfigPathsFile

Read the configuration paths from the file with path InputFile into Configs.

Synopsis

Declared in <llvm/Transforms/IPO/InstrumentorConfigFile.h>

bool
readConfigPathsFile(
    StringRef InputFile,
    cl::list<std::string>& Configs,
    LLVMContext& Ctx,
    vfs::FileSystem& FS);

Return Value

True on success, false if the file could not be opened.

Parameters

NameDescription
InputFilePath of the file listing configuration paths.
ConfigsList populated with the configuration paths read.
CtxLLVM context used for diagnostics.
FSVirtual file system used to open InputFile.