llvm-project/lld/MachO
Jez Ng 78976bf3da [lld-macho] Support parsing of bitcode within archives
Also error out if we find anything other than an object or bitcode file
in the archive.

Note that we were previously inserting the symbols and sections of the
unpacked ObjFile into the containing ArchiveFile. This was actually
unnecessary -- we can just insert the ObjectFile (or BitcodeFile) into
the `inputFiles` vector. This is the approach taken by LLD-ELF.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D92539
2020-12-08 10:34:32 -08:00
..
Arch [lld/mac] Make X86_64::getImplicitAddend not do heap allocations 2020-12-07 09:23:51 -05:00
CMakeLists.txt [lld-macho] Add dependency to DebugInfoDWARF 2020-12-01 19:10:46 -08:00
Config.h [mac/lld] Implement -t 2020-12-03 16:02:38 -05:00
Driver.cpp [mac/lld] Add support for the LC_LINKER_OPTION load command in o files 2020-12-04 08:46:53 -05:00
Driver.h [mac/lld] Add support for the LC_LINKER_OPTION load command in o files 2020-12-04 08:46:53 -05:00
DriverUtils.cpp [mac/lld] Implement -t 2020-12-03 16:02:38 -05:00
Dwarf.cpp [lld-macho] Emit STABS symbols for debugging, and drop debug sections 2020-12-01 15:05:20 -08:00
Dwarf.h [lld-macho] Emit STABS symbols for debugging, and drop debug sections 2020-12-01 15:05:20 -08:00
ExportTrie.cpp [lld-macho] Support absolute symbols 2020-09-25 11:28:35 -07:00
ExportTrie.h [lld-macho] Export trie addresses should be relative to the image base 2020-09-20 20:43:15 -07:00
InputFiles.cpp [lld-macho] Support parsing of bitcode within archives 2020-12-08 10:34:32 -08:00
InputFiles.h [lld-macho][nfc] Move some methods from InputFile to ObjFile 2020-12-08 10:34:32 -08:00
InputSection.cpp [lld-macho][nfc] Move some methods from InputFile to ObjFile 2020-12-08 10:34:32 -08:00
InputSection.h [lld-macho][nfc] Move some methods from InputFile to ObjFile 2020-12-08 10:34:32 -08:00
LTO.cpp [mac/lld] Include archive name in diagnostics 2020-12-01 23:00:25 -05:00
LTO.h [lld-macho] Add very basic support for LTO 2020-11-10 12:19:28 -08:00
MachOStructs.h [lld-macho] Ensure reads from nlist_64 structs are aligned when necessary 2020-06-02 13:19:38 -07:00
MergedOutputSection.cpp [lld-macho] Handle alignment correctly when merging InputSections 2020-06-17 20:41:28 -07:00
MergedOutputSection.h [lld-macho] Refactor segment/section creation, sorting, and merging 2020-06-21 17:13:59 -07:00
ObjC.cpp [lld-macho] Implement -ObjC 2020-08-26 19:20:55 -07:00
ObjC.h [lld-macho] Implement -ObjC 2020-08-26 19:20:55 -07:00
Options.td [mac/lld] Implement -t 2020-12-03 16:02:38 -05:00
OutputSection.cpp [lld-macho] Refactor segment/section creation, sorting, and merging 2020-06-21 17:13:59 -07:00
OutputSection.h [lld-macho] Emit indirect symbol table 2020-09-23 19:26:40 -07:00
OutputSegment.cpp [lld-macho][easy] Fix segment max protection 2020-11-10 12:19:28 -08:00
OutputSegment.h [lld-macho] Emit STABS symbols for debugging, and drop debug sections 2020-12-01 15:05:20 -08:00
SymbolTable.cpp [Mach0] Fix unused-variable warnings 2020-11-19 10:51:15 +01:00
SymbolTable.h [lld-macho][re-land] Initial support for common symbols 2020-09-24 15:00:20 -07:00
Symbols.cpp [lld/mac] Fix issues around thin archives 2020-12-01 18:48:29 -05:00
Symbols.h [lld/mac] Fix issues around thin archives 2020-12-01 18:48:29 -05:00
SyntheticSections.cpp [lld-macho] Add isCodeSection() 2020-12-01 15:05:21 -08:00
SyntheticSections.h fix typos to cycle bots 2020-12-01 20:27:33 -05:00
Target.cpp Reland D75382 "[lld] Initial commit for new Mach-O backend" 2020-04-02 12:03:43 -07:00
Target.h [lld-macho] Implement weak binding for branch relocations 2020-08-27 17:44:15 -07:00
UnwindInfoSection.cpp fix typos to cycle bots 2020-12-01 20:27:33 -05:00
UnwindInfoSection.h [lld-macho] create __TEXT,__unwind_info from __LD,__compact_unwind 2020-09-18 22:01:03 -07:00
Writer.cpp [lld] Delete unused declarations 2020-12-06 15:26:37 -08:00
Writer.h [lld-macho] Extend SyntheticSections to cover all segment load commands 2020-04-27 12:58:12 -07:00