[llvm] [LFI] Report reserved register modification in error message (PR #195160)
Nick Desaulniers via llvm-commits
llvm-commits at lists.llvm.org
Tue May 5 13:08:33 PDT 2026
================
@@ -40,7 +41,8 @@ class MCLFIRewriter {
std::unique_ptr<MCInstrInfo> &&II)
: Ctx(Ctx), InstInfo(std::move(II)), RegInfo(std::move(RI)) {}
- LLVM_ABI void error(const MCInst &Inst, const char Msg[]);
+ LLVM_ABI void error(const MCInst &Inst, const Twine &Msg);
+ LLVM_ABI void warning(const MCInst &Inst, const Twine &Msg);
----------------
nickdesaulniers wrote:
`MCLFIRewriter::warning` seems unused?
https://github.com/llvm/llvm-project/pull/195160
More information about the llvm-commits
mailing list