[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:
parent
58d1988b19
commit
09b8b44760
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue