llvm-capstone/lld/COFF
Ulrich Weigand fb8557813a Fix PDB relocation on big-endian hosts
When running the LLD test suite on a big-endian host, the
COFF/pdb-framedata.yaml test case currently fails.

As it turns out, this is because code in DebugSHandler::finish
intended to relocate RvaStart entries of FDO records does not
work correctly when compiled for a big-endian host.

Fixed by always reading file data in little-endian mode.

Reviewed By: aganea

Differential Revision: https://reviews.llvm.org/D149268
2023-04-27 17:48:27 +02: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 [NFC] Optimize vector usage in lld 2023-01-26 20:31:42 -05:00
Chunks.h [lld][COFF] Fix bug causing assertion in Chunk::setAlignment 2023-01-10 14:19:53 +00:00
CMakeLists.txt [Support] Move TargetParsers to new component 2022-12-20 11:05:50 +00: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] Support separate native object file path in --thinlto-prefix-replace 2023-04-04 11:24:51 -07:00
DebugTypes.cpp Use llvm::byteswap instead of ByteSwap_{16,32,64} (NFC) 2023-01-28 15:22:37 -08:00
DebugTypes.h [LLD][COFF] Survive empty and invalid PCH signature 2022-11-20 10:40:50 -05:00
DLL.cpp [lld][COFF] Provide unwinding information for Chunk injected by /delayloaded 2023-01-16 18:39:21 +01: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] Add /inferasanlibs to lld-link as ignored flag 2023-04-24 22:06:34 +08:00
Driver.h [OptTable] Precompute OptTable prefixes union table through tablegen 2023-01-12 12:08:06 +01:00
DriverUtils.cpp [NFC] Optimize vector usage in lld 2023-01-26 20:31:42 -05:00
ICF.cpp [LLD] Remove global state in lld/COFF 2023-01-09 23:39:30 -05:00
ICF.h [LLD] Remove global state in lld/COFF 2023-01-09 23:39:30 -05:00
InputFiles.cpp [NFC][TargetParser] Remove llvm/ADT/Triple.h 2023-02-07 12:39:46 +00:00
InputFiles.h [LLD] Remove global state in lld/COFF 2023-01-09 23:39:30 -05:00
LLDMapFile.cpp [LLD] Remove global state in lld/COFF 2023-01-09 23:39:30 -05:00
LLDMapFile.h [lld/win] Use C++17 nested namespace syntax in most places 2022-08-08 11:48:12 -04:00
LTO.cpp [LTO] Change getThinLTOOutputFile to take StringRef 2023-04-26 20:43:11 -07:00
LTO.h [LLD] Remove global state in lld/COFF 2023-01-09 23:39:30 -05:00
MapFile.cpp [LLD] Remove global state in lld/COFF 2023-01-09 23:39:30 -05: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] Remove global state in lld/COFF 2023-01-09 23:39:30 -05:00
MarkLive.h [lld/win] Use C++17 nested namespace syntax in most places 2022-08-08 11:48:12 -04:00
MinGW.cpp Reapply [lld][flang] Add exceptions for Flang runtime libraries on MinGW. 2023-03-09 13:19:22 +02:00
MinGW.h [LLD] Remove global state in lld/COFF 2023-01-09 23:39:30 -05:00
Options.td [LLD][COFF] Add /inferasanlibs to lld-link as ignored flag 2023-04-24 22:06:34 +08:00
PDB.cpp Fix PDB relocation on big-endian hosts 2023-04-27 17:48:27 +02:00
PDB.h [COFF] Change most Optional to std::optional 2022-11-27 16:39:40 -08:00
README.md
Symbols.cpp [LLD] Remove global state in lld/COFF 2023-01-09 23:39:30 -05:00
Symbols.h [LLD] Remove global state in lld/COFF 2023-01-09 23:39:30 -05:00
SymbolTable.cpp [LLD] Remove global state in lld/COFF 2023-01-09 23:39:30 -05:00
SymbolTable.h [LLD] Remove global state in lld/COFF 2023-01-09 23:39:30 -05:00
TypeMerger.h [LLD] Remove global state in lld/COFF 2023-01-09 23:39:30 -05:00
Writer.cpp Always emit symbol table when dwarf section exists in COFF 2023-04-27 09:42:47 +08:00
Writer.h [LLD] Remove global state in lld/COFF 2023-01-09 23:39:30 -05:00

See docs/NewLLD.rst