[llvm] [AVR] Force relocations for non-encodable jumps (PR #121498)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 2 17:42:23 PST 2025
================
@@ -45,12 +49,18 @@ static void signed_width(unsigned Width, uint64_t Value,
Ctx->reportError(Fixup.getLoc(), Diagnostic);
}
+
+ return false;
}
-static void unsigned_width(unsigned Width, uint64_t Value,
- std::string Description, const MCFixup &Fixup,
- MCContext *Ctx) {
- if (!isUIntN(Width, Value)) {
+static bool checkUnsignedWidth(unsigned Width, uint64_t Value,
+ std::string Description, const MCFixup &Fixup,
----------------
arsenm wrote:
This probably should not be std::string. Twine maybe?
https://github.com/llvm/llvm-project/pull/121498
More information about the llvm-commits
mailing list