llvm/llvm/lib/DebugInfo/GSYM/GsymReader.cpp

//===- GsymReader.cpp -----------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "llvm/DebugInfo/GSYM/GsymReader.h"

#include <assert.h>
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>

#include "llvm/DebugInfo/GSYM/GsymCreator.h"
#include "llvm/DebugInfo/GSYM/InlineInfo.h"
#include "llvm/DebugInfo/GSYM/LineTable.h"
#include "llvm/Support/BinaryStreamReader.h"
#include "llvm/Support/DataExtractor.h"
#include "llvm/Support/MemoryBuffer.h"

usingnamespacellvm;
usingnamespacegsym;

GsymReader::GsymReader(std::unique_ptr<MemoryBuffer> Buffer)
    :{}

GsymReader::GsymReader(GsymReader &&RHS) = default;

GsymReader::~GsymReader() = default;

llvm::Expected<GsymReader> GsymReader::openFile(StringRef Filename) {}

llvm::Expected<GsymReader> GsymReader::copyBuffer(StringRef Bytes) {}

llvm::Expected<llvm::gsym::GsymReader>
GsymReader::create(std::unique_ptr<MemoryBuffer> &MemBuffer) {}

llvm::Error
GsymReader::parse() {}

const Header &GsymReader::getHeader() const {}

std::optional<uint64_t> GsymReader::getAddress(size_t Index) const {}

std::optional<uint64_t> GsymReader::getAddressInfoOffset(size_t Index) const {}

Expected<uint64_t>
GsymReader::getAddressIndex(const uint64_t Addr) const {}

llvm::Expected<DataExtractor>
GsymReader::getFunctionInfoDataForAddress(uint64_t Addr,
                                          uint64_t &FuncStartAddr) const {}

llvm::Expected<DataExtractor>
GsymReader::getFunctionInfoDataAtIndex(uint64_t AddrIdx,
                                       uint64_t &FuncStartAddr) const {}

llvm::Expected<FunctionInfo> GsymReader::getFunctionInfo(uint64_t Addr) const {}

llvm::Expected<FunctionInfo>
GsymReader::getFunctionInfoAtIndex(uint64_t Idx) const {}

llvm::Expected<LookupResult> GsymReader::lookup(uint64_t Addr) const {}

void GsymReader::dump(raw_ostream &OS) {}

void GsymReader::dump(raw_ostream &OS, const FunctionInfo &FI,
                      uint32_t Indent) {}

void GsymReader::dump(raw_ostream &OS, const MergedFunctionsInfo &MFI) {}

void GsymReader::dump(raw_ostream &OS, const LineTable &LT, uint32_t Indent) {}

void GsymReader::dump(raw_ostream &OS, const InlineInfo &II, uint32_t Indent) {}

void GsymReader::dump(raw_ostream &OS, std::optional<FileEntry> FE) {}