summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorRahman Lavaee <rahmanl@google.com>2020-10-26 16:15:56 -0700
committerRahman Lavaee <rahmanl@google.com>2020-10-26 16:15:56 -0700
commit0b2f4cdf2bd4e48974099cd441afaabc18ead227 (patch)
treea94f086450ddb54c617ae1b79b6950621c4205d6 /lldb/source/Plugins/ScriptInterpreter/Python
parentd176e13ca55353c7ee8d4da23be6eae9f82a64e1 (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