aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenAction.cpp
diff options
context:
space:
mode:
authorMaksim Panchenko <maks@fb.com>2023-11-08 10:53:36 -0800
committerGitHub <noreply@github.com>2023-11-08 10:53:36 -0800
commit254ccb95e8058844f6cf82bff2c4ef9aa566760f (patch)
tree21ee6346928016c0d7d110fef0ab65d9d0e238dc /clang/lib/CodeGen/CodeGenAction.cpp
parent5aa934e2af8727852dec0ec1cfa0cba05d858f70 (diff)
downloadllvm-254ccb95e8058844f6cf82bff2c4ef9aa566760f.zip
llvm-254ccb95e8058844f6cf82bff2c4ef9aa566760f.tar.gz
llvm-254ccb95e8058844f6cf82bff2c4ef9aa566760f.tar.bz2
[BOLT] Follow-up to "Fix incorrect basic block output addresses" (#71630)
In 8244ff6739a09cb75e6e7fd1c24b85e2b1397266, I've introduced an assertion that incorrectly used BasicBlock::empty(). Some basic blocks may contain only pseudo instructions and thus BB->empty() will evaluate to false, while the actual code size will be zero.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions