diff options
author | Aditya Nandakumar <aditya_nandakumar@apple.com> | 2021-07-20 15:44:59 -0700 |
---|---|---|
committer | Aditya Nandakumar <aditya_nandakumar@apple.com> | 2021-07-20 15:46:31 -0700 |
commit | fbd3bb4365e145a5033fdeea0ede978304d22d68 (patch) | |
tree | 144a24f5af018cf37ecba70e11af5d86c043dc14 /lldb/source/Commands/CommandObjectThread.cpp | |
parent | f6769b663a0d4432b5e00e0c03904a5dfba7b077 (diff) | |
download | llvm-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