aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorAditya Nandakumar <aditya_nandakumar@apple.com>2021-07-20 15:44:59 -0700
committerAditya Nandakumar <aditya_nandakumar@apple.com>2021-07-20 15:46:31 -0700
commitfbd3bb4365e145a5033fdeea0ede978304d22d68 (patch)
tree144a24f5af018cf37ecba70e11af5d86c043dc14 /lldb/source/Commands/CommandObjectThread.cpp
parentf6769b663a0d4432b5e00e0c03904a5dfba7b077 (diff)
downloadllvm-fbd3bb4365e145a5033fdeea0ede978304d22d68.zip
llvm-fbd3bb4365e145a5033fdeea0ede978304d22d68.tar.gz
llvm-fbd3bb4365e145a5033fdeea0ede978304d22d68.tar.bz2
[NFC][AssemblyWriter] Allow AssemblyWriter::printBasicBlock() to print blocks that don't have parents.
Remove the assert in AssemblyWriter::printBasicBlock() and in BasicBlock::isEntryBlock() that require blocks to have parents. Instead, have BasicBlock::isEntryBlock() return false for unattached blocks. This allows us to call these functions for blocks that are not yet added to a module which is a useful debugging capability. Committing for xiaoqing_wu https://reviews.llvm.org/D106127k
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions