forked from OSchip/llvm-project
[lld/MachO] Fix +asserts build after recent change
This commit is contained in:
parent
ecf606cb43
commit
da11f17e90
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue