[lldb] [llvm] [AArch64][llvm] Tighten SYSP parsing; don't disassemble invalid encodings (PR #182410)
via llvm-commits
llvm-commits at lists.llvm.org
Fri May 1 09:39:57 PDT 2026
================
@@ -1387,25 +1387,31 @@ DecodeXSeqPairsClassRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Addr,
Inst, AArch64::XSeqPairsClassRegClassID, RegNo, Addr, Decoder);
}
-static DecodeStatus DecodeSyspXzrInstruction(MCInst &Inst, uint32_t insn,
- uint64_t Addr,
- const MCDisassembler *Decoder) {
+static DecodeStatus
+DecodeSyspPairClassRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Addr,
----------------
Lukacma wrote:
single parametrized decoder for both Xseqreg and sysp would be better here I think.
https://github.com/llvm/llvm-project/pull/182410
More information about the llvm-commits
mailing list