llvm-capstone/lld/COFF
Martin Storsjö 2fc8bea42f [LLD] [COFF] Set the right alignment for DelayDirectoryChunk (#84697)
This makes a difference when linking executables with delay loaded
libraries for arm32; the delay loader implementation can load data from
the registry with instructions that assume alignment.

This issue does not show up when linking in MinGW mode, because a
PseudoRelocTableChunk gets injected, which also sets alignment, even if
the chunk itself is empty.

(cherry picked from commit c93c76b562784926b22a69d3f82a5032dcb4a274)
2024-03-13 10:58:58 -07:00
..
CallGraphSort.cpp [LLD] Remove global state in lld/COFF 2023-01-09 23:39:30 -05:00
CallGraphSort.h [lld/win] Use C++17 nested namespace syntax in most places 2022-08-08 11:48:12 -04:00
Chunks.cpp [lld] Add support for EC code map. (#69101) 2023-11-15 12:35:45 +01:00
Chunks.h [lld] Add support for EC code map. (#69101) 2023-11-15 12:35:45 +01:00
CMakeLists.txt [LLD/COFF] Fix link failure due to missing component. 2023-10-03 00:33:36 +02:00
COFFLinkerContext.cpp [lld][COFF] Fix bug causing assertion in Chunk::setAlignment 2023-01-10 14:19:53 +00:00
COFFLinkerContext.h [lld][COFF] Fix bug causing assertion in Chunk::setAlignment 2023-01-10 14:19:53 +00:00
Config.h [LLD] [COFF] Fix option name references in Config.h. NFC. 2024-01-04 23:36:54 +02:00
DebugTypes.cpp Use llvm::endianness::{big,little,native} (NFC) 2023-10-12 21:21:45 -07:00
DebugTypes.h [LLD][COFF] Survive empty and invalid PCH signature 2022-11-20 10:40:50 -05:00
DLL.cpp [LLD] [COFF] Set the right alignment for DelayDirectoryChunk (#84697) 2024-03-13 10:58:58 -07:00
DLL.h [lld][COFF] Provide unwinding information for Chunk injected by /delayloaded 2023-01-16 18:39:21 +01:00
Driver.cpp [LLD] [COFF] Pick timestamps from the SOURCE_DATE_EPOCH variable (#81326) 2024-02-10 17:48:47 -08:00
Driver.h [LLD][COFF] Support /DEPENDENTLOADFLAG[:flags] (#71537) 2023-11-08 15:21:05 -05:00
DriverUtils.cpp [lld] Use SmallString::operator std::string (NFC) 2024-01-22 00:13:23 -08:00
ICF.cpp [LLD] [COFF] Recognize Itanium vtables for ICF (#70196) 2023-10-26 10:58:28 +03:00
ICF.h [LLD] Remove global state in lld/COFF 2023-01-09 23:39:30 -05:00
InputFiles.cpp [lld] Use SmallString::operator std::string (NFC) 2024-01-22 00:13:23 -08:00
InputFiles.h [LLD] Do not assume /guard:cf always set together with /guard:ehcont 2023-05-16 23:12:03 +08:00
LLDMapFile.cpp [LLD][COFF] Add support for --time-trace (#68236) 2023-10-05 22:33:58 -04:00
LLDMapFile.h [lld/win] Use C++17 nested namespace syntax in most places 2022-08-08 11:48:12 -04:00
LTO.cpp [LLD][COFF] Add support for --time-trace (#68236) 2023-10-05 22:33:58 -04:00
LTO.h [LLD] Remove global state in lld/COFF 2023-01-09 23:39:30 -05:00
MapFile.cpp [LLD][COFF] Add support for --time-trace (#68236) 2023-10-05 22:33:58 -04:00
MapFile.h [lld/win] Use C++17 nested namespace syntax in most places 2022-08-08 11:48:12 -04:00
MarkLive.cpp [LLD][COFF] Add support for --time-trace (#68236) 2023-10-05 22:33:58 -04:00
MarkLive.h [lld/win] Use C++17 nested namespace syntax in most places 2022-08-08 11:48:12 -04:00
MinGW.cpp [LLD][COFF] Add support for --time-trace (#68236) 2023-10-05 22:33:58 -04:00
MinGW.h [LLD] Remove global state in lld/COFF 2023-01-09 23:39:30 -05:00
Options.td [LLD][COFF] Add -build-id flag to generate .buildid section. (#71433) 2023-12-05 14:57:45 -05:00
PDB.cpp [ADT] Rename SmallString::{starts,ends}with to {starts,ends}_with (#74916) 2023-12-09 14:28:45 -08:00
PDB.h [COFF] Change most Optional to std::optional 2022-11-27 16:39:40 -08:00
README.md
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][COFF] add __buildid symbol. (#74652) 2023-12-14 17:43:10 -05:00
SymbolTable.cpp [LTO] [LLD] Don't alias the __imp_func and func symbol resolutions (#71376) 2023-11-21 15:06:00 +02:00
SymbolTable.h [LLD] [COFF] Error out if new LTO objects are pulled in after the main LTO compilation (#71337) 2023-11-07 11:49:40 +02:00
TypeMerger.h [LLD] Remove global state in lld/COFF 2023-01-09 23:39:30 -05:00
Writer.cpp [LLD] [COFF] Fix crashes for cfguard with undefined weak symbols (#79063) 2024-01-23 20:37:03 +02:00
Writer.h [lld][NFC] Factor out isCodeSection helper. (#69193) 2023-10-16 21:00:13 +02:00

See docs/NewLLD.rst