LLVM 20.0.0git
|
#include "llvm/DebugInfo/GSYM/CallSiteInfo.h"
Public Member Functions | |
CallSiteInfoLoader (GsymCreator &GCreator, std::vector< FunctionInfo > &Funcs) | |
Constructor that initializes the CallSiteInfoLoader with necessary data structures. | |
llvm::Error | loadYAML (StringRef YAMLFile) |
This method reads the specified YAML file, parses its content, and updates the Funcs vector with call site information based on the YAML data. | |
Definition at line 83 of file CallSiteInfo.h.
|
inline |
Constructor that initializes the CallSiteInfoLoader with necessary data structures.
GCreator | A reference to the GsymCreator. |
Definition at line 89 of file CallSiteInfo.h.
This method reads the specified YAML file, parses its content, and updates the Funcs
vector with call site information based on the YAML data.
Funcs | A reference to a vector of FunctionInfo objects to be populated. |
YAMLFile | A StringRef representing the path to the YAML file to be loaded. |
llvm::Error
indicating success or describing any issues encountered during the loading process. Definition at line 152 of file CallSiteInfo.cpp.
References llvm::createStringError(), llvm::errorCodeToError(), and llvm::MemoryBuffer::getFile().
Referenced by llvm::gsym::GsymCreator::loadCallSitesFromYAML().