[lld/mac] Reorder an assert() and a printArchiveMemberLoad() call

No behavior difference in practice, but makes it possible to use `-t`
for debugging when that assert fails.
This commit is contained in:
Nico Weber 2022-11-23 09:40:17 -05:00
parent 58d1988b19
commit 09b8b44760
1 changed files with 1 additions and 1 deletions

View File

@ -2212,9 +2212,9 @@ void BitcodeFile::parseLazy() {
}
void macho::extract(InputFile &file, StringRef reason) {
printArchiveMemberLoad(reason, &file);
assert(file.lazy);
file.lazy = false;
printArchiveMemberLoad(reason, &file);
if (auto *bitcode = dyn_cast<BitcodeFile>(&file)) {
bitcode->parse();
} else {