diff options
author | Sam Parker <sam.parker@arm.com> | 2020-08-07 09:49:09 +0100 |
---|---|---|
committer | Sam Parker <sam.parker@arm.com> | 2020-08-11 09:03:09 +0100 |
commit | 8f92f3c2eab02fe17a03fc39fefa0082b1c4b72f (patch) | |
tree | 990484e03c626829800e10766fb2c97402e870b8 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 8a5e296975b3da5d5d849ae8185ef3d98ca77795 (diff) | |
download | llvm-8f92f3c2eab02fe17a03fc39fefa0082b1c4b72f.zip llvm-8f92f3c2eab02fe17a03fc39fefa0082b1c4b72f.tar.gz llvm-8f92f3c2eab02fe17a03fc39fefa0082b1c4b72f.tar.bz2 |
[RDA] Fix DBG_VALUE issues
We skip debug instructions in RDA so we cannot attempt to look them
up in our instruction map without causing a crash. But some of the
methods select the last instruction in the block and this
instruction may be a debug instruction... So, use getLastNonDebugInstr
instead of calling back on a MachineBasicBlock.
MachineBasicBlock iterators have also been updated to use
instructionsWithoutDebug so we can avoid the manual checks for debug
instructions.
Differential Revision: https://reviews.llvm.org/D85658
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions