#include "llvm/MC/MCDisassembler/MCDisassembler.h"
#include "llvm/ADT/ArrayRef.h"
usingnamespacellvm;
MCDisassembler::~MCDisassembler() = default;
Expected<bool> MCDisassembler::onSymbolStart(SymbolInfoTy &Symbol,
uint64_t &Size,
ArrayRef<uint8_t> Bytes,
uint64_t Address) const { … }
uint64_t MCDisassembler::suggestBytesToSkip(ArrayRef<uint8_t> Bytes,
uint64_t Address) const { … }
bool MCDisassembler::tryAddingSymbolicOperand(MCInst &Inst, int64_t Value,
uint64_t Address, bool IsBranch,
uint64_t Offset, uint64_t OpSize,
uint64_t InstSize) const { … }
void MCDisassembler::tryAddingPcLoadReferenceComment(int64_t Value,
uint64_t Address) const { … }
void MCDisassembler::setSymbolizer(std::unique_ptr<MCSymbolizer> Symzer) { … }
#define SMC_PCASE …
static uint8_t getSMCPriority(XCOFF::StorageMappingClass SMC) { … }
bool XCOFFSymbolInfoTy::operator<(const XCOFFSymbolInfoTy &SymInfo) const { … }