[llvm] Allow MCInstrAnalysis to change MCInst (PR #85906)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 26 02:15:23 PDT 2024
================
@@ -52,6 +53,10 @@ class MCInstrAnalysis {
/// new function), clients should call resetState to clear it.
virtual void updateState(const MCInst &Inst, uint64_t Addr) {}
+ /// Let the analysis update disassembled instruction from a recorded internal
+ /// state.
----------------
arsenm wrote:
Analyses generally shouldn't mutate what they are analyzing?
https://github.com/llvm/llvm-project/pull/85906
More information about the llvm-commits
mailing list