llvm-project/lld/COFF
Eli Friedman 13fc178173 Force GHashCell to be 8-byte-aligned.
Otherwise, with recent versions of libstdc++, clang can't tell that the
atomic operations are properly aligned, and generates calls to
libatomic.  (Actually, because of the use of reinterpret_cast, it wasn't
guaranteed to be aligned, but I think it ended up being aligned in
practice.)

Fixes https://github.com/llvm/llvm-project/issues/54790 , the part where
LLVM failed to build.

Differential Revision: https://reviews.llvm.org/D123872
2022-04-18 08:46:03 -07:00
..
CMakeLists.txt Reland: Make lld-link work in a non-MSVC shell, add /winsysroot: 2022-02-16 09:22:39 -05:00
COFFLinkerContext.cpp Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
COFFLinkerContext.h Re-land [LLD] Remove global state in lldCommon 2022-01-20 14:53:26 -05:00
CallGraphSort.cpp Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
CallGraphSort.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
Chunks.cpp Revert "Rename llvm::array_lengthof into llvm::size to match std::size from C++17" 2022-01-26 16:55:53 +01:00
Chunks.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
Config.h [LLD][COFF] Add support for /noimplib 2022-04-13 10:32:44 +02:00
DLL.cpp Re-land [LLD] Remove global state in lldCommon 2022-01-20 14:53:26 -05:00
DLL.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
DebugTypes.cpp Force GHashCell to be 8-byte-aligned. 2022-04-18 08:46:03 -07:00
DebugTypes.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
Driver.cpp [NFC] Simplify /noimplib argument logic 2022-04-13 16:40:30 +02:00
Driver.h Reland: Make lld-link work in a non-MSVC shell, add /winsysroot: 2022-02-16 09:22:39 -05:00
DriverUtils.cpp Re-land [LLD] Remove global state in lldCommon 2022-01-20 14:53:26 -05:00
ICF.cpp Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
ICF.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
InputFiles.cpp Re-land [LLD] Remove global state in lldCommon 2022-01-20 14:53:26 -05:00
InputFiles.h [lld-link] Replace LazyObjFile with lazy ObjFile/BitcodeFile 2022-01-04 15:11:44 -08:00
LLDMapFile.cpp Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
LLDMapFile.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
LTO.cpp [lld] Remove support for legacy pass manager 2022-04-07 10:17:31 +02:00
LTO.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
MapFile.cpp Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
MapFile.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
MarkLive.cpp Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
MarkLive.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
MinGW.cpp Re-land [LLD] Remove global state in lldCommon 2022-01-20 14:53:26 -05:00
MinGW.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
Options.td [LLD][COFF] Add support for /noimplib 2022-04-13 16:40:29 +02:00
PDB.cpp Cleanup llvm/DebugInfo/PDB headers 2022-02-23 10:31:34 +01:00
PDB.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
README.md
SymbolTable.cpp Reland: Make lld-link work in a non-MSVC shell, add /winsysroot: 2022-02-16 09:22:39 -05:00
SymbolTable.h [lld-link] Replace LazyObjFile with lazy ObjFile/BitcodeFile 2022-01-04 15:11:44 -08:00
Symbols.cpp [lld] Add support for other demanglers other than Itanium 2022-01-05 03:25:41 +00:00
Symbols.h [lld-link] Replace LazyObjFile with lazy ObjFile/BitcodeFile 2022-01-04 15:11:44 -08:00
TypeMerger.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00
Writer.cpp [LLD] [COFF] Order .debug_* sections at the end, to avoid leaving gaps if stripped 2022-03-03 10:08:51 +02:00
Writer.h Reland "[LLD] Remove global state in lld/COFF" after fixing asan and msan test failures 2021-09-17 17:18:42 -07:00

README.md

See docs/NewLLD.rst