Use dSYM's file addr for Sections when it doesn't match binary
When adding a dSYM to a Module and it has different file addresses from the already-present ObjectFile binary, change the Sections to use the dSYM's file addresses so the symbol table and DWARF are properly contained in the Sections. Previously this was only done for IsInMemory ObjectFiles, but it's more common than that. Differential Revision: https://reviews.llvm.org/D108889 rdar://81504400
Loading
Please sign in to comment