llvm-project/llvm/lib/DebugInfo/PDB/Native
Nico Weber 646299d183 [Support] Convert BinaryStream class zoo to 64-bit offsets
Most PDB fields on disk are 32-bit but describe the file in terms of MSF
blocks, which are 4 kiB by default.

So PDB files can be a bit larger than 4 GiB, and much larger if you create them
with a block size > 4 kiB.

This is a first (necessary, but by far not not sufficient) step towards
supporting such PDB files.  Now we don't truncate in-memory file offsets (which
are in terms of bytes, not in terms of blocks).

No effective behavior change. lld-link will still error out if it were to
produce PDBs > 4 GiB.

Differential Revision: https://reviews.llvm.org/D109923
2021-09-16 19:14:52 -04:00
..
DbiModuleDescriptor.cpp
DbiModuleDescriptorBuilder.cpp Re-land "[PDB] Defer relocating .debug$S until commit time and parallelize it" 2021-03-10 15:14:09 -08:00
DbiModuleList.cpp
DbiStream.cpp
DbiStreamBuilder.cpp Re-land "[PDB] Defer relocating .debug$S until commit time and parallelize it" 2021-03-10 15:14:09 -08:00
EnumTables.cpp
GSIStreamBuilder.cpp [llvm] Rename StringRef _lower() method calls to _insensitive() 2021-06-25 00:22:01 +03:00
GlobalsStream.cpp
Hash.cpp
HashTable.cpp
InfoStream.cpp
InfoStreamBuilder.cpp
InjectedSourceStream.cpp
ModuleDebugStream.cpp
NamedStreamMap.cpp [DebugInfo] Use llvm::append_range (NFC) 2021-01-04 11:42:45 -08:00
NativeCompilandSymbol.cpp
NativeEnumGlobals.cpp
NativeEnumInjectedSources.cpp [Support] Convert BinaryStream class zoo to 64-bit offsets 2021-09-16 19:14:52 -04:00
NativeEnumLineNumbers.cpp
NativeEnumModules.cpp
NativeEnumSymbols.cpp
NativeEnumTypes.cpp
NativeExeSymbol.cpp
NativeFunctionSymbol.cpp
NativeInlineSiteSymbol.cpp
NativeLineNumber.cpp
NativePublicSymbol.cpp
NativeRawSymbol.cpp
NativeSession.cpp [NFC] Reordering parameters in getFile and getFileOrSTDIN 2021-03-25 09:47:49 -04:00
NativeSourceFile.cpp
NativeSymbolEnumerator.cpp
NativeTypeArray.cpp
NativeTypeBuiltin.cpp
NativeTypeEnum.cpp
NativeTypeFunctionSig.cpp
NativeTypePointer.cpp
NativeTypeTypedef.cpp
NativeTypeUDT.cpp
NativeTypeVTShape.cpp
PDBFile.cpp
PDBFileBuilder.cpp [DebugInfo] Remove some unused includes. NFCI. 2021-01-28 11:21:35 +00:00
PDBStringTable.cpp
PDBStringTableBuilder.cpp
PublicsStream.cpp
RawError.cpp
SymbolCache.cpp [llvm] Use llvm::sort (NFC) 2021-01-17 10:39:45 -08:00
SymbolStream.cpp
TpiHashing.cpp
TpiStream.cpp
TpiStreamBuilder.cpp [DebugInfo] Use llvm::append_range (NFC) 2021-01-04 11:42:45 -08:00