[MemAccessUtils] Add inst to visitAccessedAddress.

The debug_step returns true for mayReadOrWriteMemory so it has to be
handled there.

rdar://108043268
This commit is contained in:
Nate Chandler
2023-04-14 07:19:53 -07:00
parent 2a3e7ba298
commit 9d3722fdb9
2 changed files with 13 additions and 0 deletions

View File

@@ -2691,6 +2691,7 @@ void swift::visitAccessedAddress(SILInstruction *I,
case SILInstructionKind::CopyBlockInst:
case SILInstructionKind::CopyBlockWithoutEscapingInst:
case SILInstructionKind::CopyValueInst:
case SILInstructionKind::DebugStepInst:
case SILInstructionKind::DeinitExistentialAddrInst:
case SILInstructionKind::DeinitExistentialValueInst:
case SILInstructionKind::DestroyAddrInst: