16 #ifndef LLVM_MC_MCDISASSEMBLER_MCSYMBOLIZER_H 17 #define LLVM_MC_MCDISASSEMBLER_MCSYMBOLIZER_H 42 std::unique_ptr<MCRelocationInfo>
RelInfo;
47 : Ctx(Ctx), RelInfo(
std::move(RelInfo)) {
70 bool IsBranch, uint64_t
Offset,
71 uint64_t InstSize) = 0;
78 uint64_t Address) = 0;
83 #endif // LLVM_MC_MCDISASSEMBLER_MCSYMBOLIZER_H std::unique_ptr< MCRelocationInfo > RelInfo
This class represents lattice values for constants.
virtual void tryAddingPcLoadReferenceComment(raw_ostream &cStream, int64_t Value, uint64_t Address)=0
Try to add a comment on the PC-relative load.
MCSymbolizer & operator=(const MCSymbolizer &)=delete
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...