diff options
Diffstat (limited to 'llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp')
-rw-r--r-- | llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp b/llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp index a3a4d63932c0..3624ade854c0 100644 --- a/llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp +++ b/llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp @@ -47,7 +47,7 @@ static void signed_width(unsigned Width, uint64_t Value, " to " + std::to_string(Max) + ")"; if (Ctx) { - Ctx->reportFatalError(Fixup.getLoc(), Diagnostic); + Ctx->reportError(Fixup.getLoc(), Diagnostic); } else { llvm_unreachable(Diagnostic.c_str()); } @@ -66,7 +66,7 @@ static void unsigned_width(unsigned Width, uint64_t Value, " (expected an integer in the range 0 to " + std::to_string(Max) + ")"; if (Ctx) { - Ctx->reportFatalError(Fixup.getLoc(), Diagnostic); + Ctx->reportError(Fixup.getLoc(), Diagnostic); } else { llvm_unreachable(Diagnostic.c_str()); } |