#include "llvm/DebugInfo/Symbolize/DIPrinter.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/DebugInfo/DIContext.h"
#include "llvm/Support/ErrorOr.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <memory>
#include <string>
namespace llvm {
namespace symbolize {
class SourceCode { … };
void PlainPrinterBase::printHeader(std::optional<uint64_t> Address) { … }
void PlainPrinterBase::printContext(SourceCode SourceCode) { … }
void PlainPrinterBase::printFunctionName(StringRef FunctionName, bool Inlined) { … }
void LLVMPrinter::printSimpleLocation(StringRef Filename,
const DILineInfo &Info) { … }
void GNUPrinter::printSimpleLocation(StringRef Filename,
const DILineInfo &Info) { … }
void PlainPrinterBase::printVerbose(StringRef Filename,
const DILineInfo &Info) { … }
void LLVMPrinter::printStartAddress(const DILineInfo &Info) { … }
void LLVMPrinter::printFooter() { … }
void PlainPrinterBase::print(const DILineInfo &Info, bool Inlined) { … }
void PlainPrinterBase::print(const Request &Request, const DILineInfo &Info) { … }
void PlainPrinterBase::print(const Request &Request,
const DIInliningInfo &Info) { … }
void PlainPrinterBase::print(const Request &Request, const DIGlobal &Global) { … }
void PlainPrinterBase::print(const Request &Request,
const std::vector<DILocal> &Locals) { … }
void PlainPrinterBase::print(const Request &Request,
const std::vector<DILineInfo> &Locations) { … }
bool PlainPrinterBase::printError(const Request &Request,
const ErrorInfoBase &ErrorInfo) { … }
static std::string toHex(uint64_t V) { … }
static json::Object toJSON(const Request &Request, StringRef ErrorMsg = "") { … }
static json::Object toJSON(const DILineInfo &LineInfo) { … }
void JSONPrinter::print(const Request &Request, const DILineInfo &Info) { … }
void JSONPrinter::print(const Request &Request, const DIInliningInfo &Info) { … }
void JSONPrinter::print(const Request &Request, const DIGlobal &Global) { … }
void JSONPrinter::print(const Request &Request,
const std::vector<DILocal> &Locals) { … }
void JSONPrinter::print(const Request &Request,
const std::vector<DILineInfo> &Locations) { … }
bool JSONPrinter::printError(const Request &Request,
const ErrorInfoBase &ErrorInfo) { … }
void JSONPrinter::listBegin() { … }
void JSONPrinter::listEnd() { … }
}
}