diff options
| author | Rahman Lavaee <rahmanl@google.com> | 2020-10-26 16:15:56 -0700 |
|---|---|---|
| committer | Rahman Lavaee <rahmanl@google.com> | 2020-10-26 16:15:56 -0700 |
| commit | 0b2f4cdf2bd4e48974099cd441afaabc18ead227 (patch) | |
| tree | a94f086450ddb54c617ae1b79b6950621c4205d6 /lldb/source/Plugins/ScriptInterpreter/Python | |
| parent | d176e13ca55353c7ee8d4da23be6eae9f82a64e1 (diff) | |
Explicitly check for entry basic block, rather than relying on MachineBasicBlock::pred_empty.
Sometimes in unoptimized code, we have dangling unreachable basic blocks with no predecessors. Basic block sections should be emitted for those as well. Without this patch, the included test fails with a fatal error in `AsmPrinter::emitBasicBlockEnd`.
Reviewed By: tmsriram
Differential Revision: https://reviews.llvm.org/D89423
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
