llvm-capstone/lld/MachO
Vy Nguyen 595cd45a66 [lld-macho][nfc]Add bounds on sections and subsections check before attempting to dereferencing iterators.
Runnign some tests with asan built of LLD would throw errors similar to the following:

AddressSanitizer:DEADLYSIGNAL
    #0 0x55d8e6da5df7 in operator() /mnt/ssd/repo/lld/llvm-project/lld/MachO/Arch/ARM64.cpp:612
    #1 0x55d8e6daa514 in operator() /mnt/ssd/repo/lld/llvm-project/lld/MachO/Arch/ARM64.cpp:650

Differential Revision: https://reviews.llvm.org/D157027
2023-09-11 14:19:25 -04:00
..
Arch [lld-macho][nfc]Add bounds on sections and subsections check before attempting to dereferencing iterators. 2023-09-11 14:19:25 -04:00
CMakeLists.txt [lld-macho] Remove linking bitcode support 2023-05-30 14:47:11 -07:00
ConcatOutputSection.cpp [lld-macho] Remove partially supported 32-bit ARM arch 2023-05-20 13:06:03 -07:00
ConcatOutputSection.h
Config.h [lld][MachO] Add option to suppress mismatch profile errors (#65551) 2023-09-11 09:13:55 -07:00
Driver.cpp [lld][MachO] Add option to suppress mismatch profile errors (#65551) 2023-09-11 09:13:55 -07:00
Driver.h [lld-macho] Postprocess LC Linker Option 2023-08-13 13:39:04 -07:00
DriverUtils.cpp Reapply "[Option] Add "Visibility" field and clone the OptTable APIs to use it" 2023-08-15 01:16:58 -07:00
Dwarf.cpp
Dwarf.h [lld] Change Optional to std::optional 2022-11-27 17:25:34 -08:00
EhFrame.cpp
EhFrame.h [lld-macho] Change most Optional to std::optional 2022-11-27 16:54:07 -08:00
ExportTrie.cpp [lld-macho] Support re-exports of individual symbols 2023-03-27 16:39:37 -04:00
ExportTrie.h
ICF.cpp [lld-macho] Switch to xxh3_64bits 2023-07-19 09:58:44 -07:00
ICF.h
InputFiles.cpp [lld-macho] Stricter Bitcode Symbol Resolution 2023-08-22 12:03:17 -07:00
InputFiles.h [lld-macho] Stricter Bitcode Symbol Resolution 2023-08-22 12:03:17 -07:00
InputSection.cpp [lld-macho] Switch to xxh3_64bits 2023-07-19 09:58:44 -07:00
InputSection.h [lld-macho][re-land] Warn on method name collisions from category definitions 2023-03-30 14:33:42 -04:00
Layout.h [lld-macho][re-land] Warn on method name collisions from category definitions 2023-03-30 14:33:42 -04:00
LTO.cpp [lld][MachO] Add option to suppress mismatch profile errors (#65551) 2023-09-11 09:13:55 -07:00
LTO.h [lld-macho] Avoid running LTO pipeline for no files 2023-03-03 15:28:59 -08:00
MachOStructs.h
MapFile.cpp [lld-macho] Don't include zero-size private label symbols in map file 2023-03-11 01:40:14 -05:00
MapFile.h
MarkLive.cpp
MarkLive.h
ObjC.cpp [lld] StringRef::{starts,ends}with => {starts,ends}_with. NFC 2023-06-05 14:36:19 -07:00
ObjC.h [lld-macho][re-land] Warn on method name collisions from category definitions 2023-03-30 14:33:42 -04:00
Options.td [lld][MachO] Add option to suppress mismatch profile errors (#65551) 2023-09-11 09:13:55 -07:00
OutputSection.cpp
OutputSection.h
OutputSegment.cpp [lld-macho] Fix __objc_stubs ordering 2022-12-13 13:23:27 -08:00
OutputSegment.h
Relocations.cpp [lld-macho][re-land] Warn on method name collisions from category definitions 2023-03-30 14:33:42 -04:00
Relocations.h [lld-macho][re-land] Warn on method name collisions from category definitions 2023-03-30 14:33:42 -04:00
SectionPriorities.cpp [lld] std::optional::value => operator*/operator-> 2022-12-17 03:19:47 +00:00
SectionPriorities.h [lld-macho] Change most Optional to std::optional 2022-11-27 16:54:07 -08:00
Symbols.cpp reland: [Demangle] make llvm::demangle take std::string_view rather than const std::string& 2023-06-06 10:18:06 -07:00
Symbols.h [lld-macho] Fixed crashes when linking with incompatible-arch archives/ 2023-08-04 09:25:59 -04:00
SymbolTable.cpp [lld-macho] Stricter Bitcode Symbol Resolution 2023-08-22 12:03:17 -07:00
SymbolTable.h [lld-macho] Remove partially supported 32-bit ARM arch 2023-05-20 13:06:03 -07:00
SyntheticSections.cpp [lld-macho]Use install_name as Identifier for code-sign, if available. 2023-07-19 14:19:15 -04:00
SyntheticSections.h [lld-macho] Remove linking bitcode support 2023-05-30 14:47:11 -07:00
Target.cpp
Target.h [lld-macho] Remove partially supported 32-bit ARM arch 2023-05-20 13:06:03 -07:00
UnwindInfoSection.cpp [Support] Change MapVector's default template parameter to SmallVector<*, 0> 2023-07-24 22:04:03 -07:00
UnwindInfoSection.h
Writer.cpp [lld-macho] Use fixed chunk size for UUID 2023-07-19 17:24:36 -07:00
Writer.h