Lines Matching defs:GsymReader
1 //===- GsymReader.cpp -----------------------------------------------------===//
9 #include "llvm/DebugInfo/GSYM/GsymReader.h"
25 GsymReader::GsymReader(std::unique_ptr<MemoryBuffer> Buffer)
28 GsymReader::GsymReader(GsymReader &&RHS) = default;
30 GsymReader::~GsymReader() = default;
32 llvm::Expected<GsymReader> GsymReader::openFile(StringRef Filename) {
42 llvm::Expected<GsymReader> GsymReader::copyBuffer(StringRef Bytes) {
47 llvm::Expected<llvm::gsym::GsymReader>
48 GsymReader::create(std::unique_ptr<MemoryBuffer> &MemBuffer) {
52 GsymReader GR(std::move(MemBuffer));
60 GsymReader::parse() {
199 const Header &GsymReader::getHeader() const {
200 // The only way to get a GsymReader is from GsymReader::openFile(...) or
201 // GsymReader::copyBuffer() and the header must be valid and initialized to
207 std::optional<uint64_t> GsymReader::getAddress(size_t Index) const {
217 std::optional<uint64_t> GsymReader::getAddressInfoOffset(size_t Index) const {
225 GsymReader::getAddressIndex(const uint64_t Addr) const {
256 GsymReader::getFunctionInfoDataForAddress(uint64_t Addr,
299 GsymReader::getFunctionInfoDataAtIndex(uint64_t AddrIdx,
320 llvm::Expected<FunctionInfo> GsymReader::getFunctionInfo(uint64_t Addr) const {
329 GsymReader::getFunctionInfoAtIndex(uint64_t Idx) const {
338 GsymReader::lookup(uint64_t Addr,
349 GsymReader::lookupAll(uint64_t Addr) const {
383 void GsymReader::dump(raw_ostream &OS) {
438 void GsymReader::dump(raw_ostream &OS, const FunctionInfo &FI,
456 void GsymReader::dump(raw_ostream &OS, const MergedFunctionsInfo &MFI) {
463 void GsymReader::dump(raw_ostream &OS, const CallSiteInfo &CSI) {
495 void GsymReader::dump(raw_ostream &OS, const CallSiteInfoCollection &CSIC,
507 void GsymReader::dump(raw_ostream &OS, const LineTable <, uint32_t Indent) {
519 void GsymReader::dump(raw_ostream &OS, const InlineInfo &II, uint32_t Indent) {
537 void GsymReader::dump(raw_ostream &OS, std::optional<FileEntry> FE) {