16 #ifndef LLVM_MC_MCSYMBOLIZER_H
17 #define LLVM_MC_MCSYMBOLIZER_H
21 #include "llvm/Support/DataTypes.h"
46 std::unique_ptr<MCRelocationInfo>
RelInfo;
51 : Ctx(Ctx), RelInfo(std::move(RelInfo)) {
72 bool IsBranch, uint64_t Offset,
73 uint64_t InstSize) = 0;
std::unique_ptr< MCRelocationInfo > RelInfo
virtual void tryAddingPcLoadReferenceComment(raw_ostream &cStream, int64_t Value, uint64_t Address)=0
Try to add a comment on the PC-relative load.
MCSymbolizer(MCContext &Ctx, std::unique_ptr< MCRelocationInfo > RelInfo)
Construct an MCSymbolizer, taking ownership of RelInfo.
Context object for machine code objects.
Instances of this class represent a single low-level machine instruction.
virtual bool tryAddingSymbolicOperand(MCInst &Inst, raw_ostream &cStream, int64_t Value, uint64_t Address, bool IsBranch, uint64_t Offset, uint64_t InstSize)=0
Try to add a symbolic operand instead of Value to the MCInst.
Symbolize and annotate disassembled instructions.
LLVM Value Representation.
This class implements an extremely fast bulk output stream that can only output to a stream...