llvm.org GIT mirror llvm / 8366234
ObjectFile: Add support for mach-o-style dSYM companion files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139676 91177308-0d34-0410-b5e6-96231b3b80d8 Benjamin Kramer 9 years ago
3 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
732732 Mach_O_DynamicLinker_FileType, ///< The Mach-O dynamic linker
733733 Mach_O_Bundle_FileType, ///< Mach-O Bundle file
734734 Mach_O_DynamicallyLinkedSharedLibStub_FileType, ///< Mach-O Shared lib stub
735 Mach_O_DSYMCompanion_FileType, ///< Mach-O dSYM companion file
735736 COFF_FileType ///< COFF object file or lib
736737 };
737738
4444 case sys::Mach_O_DynamicLinker_FileType:
4545 case sys::Mach_O_Bundle_FileType:
4646 case sys::Mach_O_DynamicallyLinkedSharedLibStub_FileType:
47 case sys::Mach_O_DSYMCompanion_FileType:
4748 return createMachOObjectFile(Object);
4849 case sys::COFF_FileType:
4950 return createCOFFObjectFile(Object);
120120 case 7: return Mach_O_DynamicLinker_FileType;
121121 case 8: return Mach_O_Bundle_FileType;
122122 case 9: return Mach_O_DynamicallyLinkedSharedLibStub_FileType;
123 case 10: break; // FIXME: MH_DSYM companion file with only debug.
123 case 10: return Mach_O_DSYMCompanion_FileType;
124124 }
125125 break;
126126 }