LLVM 22.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_ABI 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 94 of file CallSiteInfo.h.
|
inline |
Constructor that initializes the CallSiteInfoLoader with necessary data structures.
GCreator | A reference to the GsymCreator. |
Definition at line 100 of file CallSiteInfo.h.
Referenced by loadYAML().
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. |
Definition at line 150 of file CallSiteInfo.cpp.
References CallSiteInfoLoader(), llvm::createStringError(), llvm::yaml::Input::error(), llvm::errorCodeToError(), llvm::MemoryBuffer::getFile(), and loadYAML().
Referenced by llvm::gsym::GsymCreator::loadCallSitesFromYAML(), and loadYAML().