Skip to content

Commit 09b8b44

Browse files
committed
[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.
1 parent 58d1988 commit 09b8b44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lld/MachO/InputFiles.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2212,9 +2212,9 @@ void BitcodeFile::parseLazy() {
22122212
}
22132213

22142214
void macho::extract(InputFile &file, StringRef reason) {
2215+
printArchiveMemberLoad(reason, &file);
22152216
assert(file.lazy);
22162217
file.lazy = false;
2217-
printArchiveMemberLoad(reason, &file);
22182218
if (auto *bitcode = dyn_cast<BitcodeFile>(&file)) {
22192219
bitcode->parse();
22202220
} else {

0 commit comments

Comments
 (0)