Similar to ELF 3a5fb57393c3bc77be9e7afc2ec9d4ec3c9bbf70.
- previously when a LazyObjFile was extracted, a new ObjFile/BitcodeFile was created; now the file is reused, just with lazy cleared
- avoid the confusing transfer of symbols from LazyObjFile to the new file
- simpler code, smaller executable (5200+ bytes smaller on x86-64)
- make eager parsing feasible (for parallel section/symbol table initialization)
Add , bool lazy) to constructor and then this code should read: ctx.symtab.addFile(make<BitcodeFile>(ctx, mbref, "", 0, lazy));.
Same below for ObjFile.