Lines Matching refs:Fixup

89 static uint64_t adjustFixupValue(const MCFixup &Fixup, uint64_t Value,  in adjustFixupValue()  argument
91 switch (Fixup.getTargetKind()) { in adjustFixupValue()
102 reportOutOfRangeError(Ctx, Fixup.getLoc(), 18); in adjustFixupValue()
104 Ctx.reportError(Fixup.getLoc(), "fixup value must be 4-byte aligned"); in adjustFixupValue()
109 reportOutOfRangeError(Ctx, Fixup.getLoc(), 23); in adjustFixupValue()
111 Ctx.reportError(Fixup.getLoc(), "fixup value must be 4-byte aligned"); in adjustFixupValue()
116 reportOutOfRangeError(Ctx, Fixup.getLoc(), 28); in adjustFixupValue()
118 Ctx.reportError(Fixup.getLoc(), "fixup value must be 4-byte aligned"); in adjustFixupValue()
136 static void fixupLeb128(MCContext &Ctx, const MCFixup &Fixup, in fixupLeb128() argument
142 Ctx.reportError(Fixup.getLoc(), "Invalid uleb128 value!"); in fixupLeb128()
146 const MCFixup &Fixup, in applyFixup() argument
154 MCFixupKind Kind = Fixup.getKind(); in applyFixup()
161 if (Fixup.getTargetKind() == FK_Data_leb128) in applyFixup()
162 return fixupLeb128(Ctx, Fixup, Data, Value); in applyFixup()
165 Value = adjustFixupValue(Fixup, Value, Ctx); in applyFixup()
170 unsigned Offset = Fixup.getOffset(); in applyFixup()
224 MCFixup Fixup = in shouldInsertFixupForCodeAlign() local
246 Asm.getWriter().recordRelocation(Asm, &AF, Fixup, Value, FixedValue); in shouldInsertFixupForCodeAlign()
252 const MCFixup &Fixup, in shouldForceRelocation() argument
255 if (Fixup.getKind() >= FirstLiteralRelocationKind) in shouldForceRelocation()
257 switch (Fixup.getTargetKind()) { in shouldForceRelocation()
453 const MCFixup &Fixup, in handleAddSubRelocations() argument
480 switch (Fixup.getKind()) { in handleAddSubRelocations()
501 auto FA = MCFixup::create(Fixup.getOffset(), nullptr, std::get<0>(FK)); in handleAddSubRelocations()
502 auto FB = MCFixup::create(Fixup.getOffset(), nullptr, std::get<1>(FK)); in handleAddSubRelocations()