[BOLT] Follow-up to "Fix incorrect basic block output addresses" (#71630)
In 8244ff67, 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.
parent
5aa934e2
Please register or sign in to comment