diff options
| author | Ruiling Song <ruiling.song@amd.com> | 2020-10-09 09:26:19 +0800 |
|---|---|---|
| committer | Ruiling Song <ruiling.song@amd.com> | 2020-10-13 08:12:20 +0800 |
| commit | b215a26628feae349d663f687efe475d622970b7 (patch) | |
| tree | 4dc934be841560efc19bff738285d112028d05da /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 7f8dc347c9552f339b4410b679d91bceb2cc456e (diff) | |
[AMDGPU] Update LiveVariables in convertToThreeAddress()
This can fix an asan failure like below.
==15856==ERROR: AddressSanitizer: use-after-poison on address ...
READ of size 8 at 0x6210001a3cb0 thread T0
#0 llvm::MachineInstr::getParent()
#1 llvm::LiveVariables::VarInfo::findKill()
#2 TwoAddressInstructionPass::rescheduleMIBelowKill()
#3 TwoAddressInstructionPass::tryInstructionTransform()
#4 TwoAddressInstructionPass::runOnMachineFunction()
We need to update the Kills if we replace instructions. The Kills
may be later accessed within TwoAddressInstruction pass.
Differential Revision: https://reviews.llvm.org/D89092
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
