Changeset View
Changeset View
Standalone View
Standalone View
llvm/trunk/include/llvm/MC/MCAsmBackend.h
Show First 20 Lines • Show All 90 Lines • ▼ Show 20 Lines | public: | ||||
/// Apply the \p Value for given \p Fixup into the provided data fragment, at | /// Apply the \p Value for given \p Fixup into the provided data fragment, at | ||||
/// the offset specified by the fixup and following the fixup kind as | /// the offset specified by the fixup and following the fixup kind as | ||||
/// appropriate. Errors (such as an out of range fixup value) should be | /// appropriate. Errors (such as an out of range fixup value) should be | ||||
/// reported via \p Ctx. | /// reported via \p Ctx. | ||||
virtual void applyFixup(const MCAssembler &Asm, const MCFixup &Fixup, | virtual void applyFixup(const MCAssembler &Asm, const MCFixup &Fixup, | ||||
const MCValue &Target, MutableArrayRef<char> Data, | const MCValue &Target, MutableArrayRef<char> Data, | ||||
uint64_t Value, bool IsResolved) const = 0; | uint64_t Value, bool IsResolved) const = 0; | ||||
/// Check whether the given target requires emitting differences of two | |||||
/// symbols as a set of relocations. | |||||
virtual bool requiresDiffExpressionRelocations() const { return false; } | |||||
/// @} | /// @} | ||||
/// \name Target Relaxation Interfaces | /// \name Target Relaxation Interfaces | ||||
/// @{ | /// @{ | ||||
/// Check whether the given instruction may need relaxation. | /// Check whether the given instruction may need relaxation. | ||||
/// | /// | ||||
/// \param Inst - The instruction to test. | /// \param Inst - The instruction to test. | ||||
▲ Show 20 Lines • Show All 89 Lines • Show Last 20 Lines |