[lld/MachO] Fix +asserts build after recent change

This commit is contained in:
Reid Kleckner 2022-02-24 13:12:48 -08:00
parent ecf606cb43
commit da11f17e90
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ void MarkLiveImpl<RecordWhyLive>::markTransitively() {
// Mark things reachable from GC roots as live.
while (!worklist.empty()) {
WorklistEntry *entry = worklist.pop_back_val();
assert(getInputSection(entry)->live &&
assert(cast<ConcatInputSection>(getInputSection(entry))->live &&
"We mark as live when pushing onto the worklist!");
// Mark all symbols listed in the relocation table for this section.