llvm-project/llvm/lib/DebugInfo/PDB/Native
Abhina Sreeskantharajan c83cd8feef [NFC] Reordering parameters in getFile and getFileOrSTDIN
In future patches I will be setting the IsText parameter frequently so I will refactor the args to be in the following order. I have removed the FileSize parameter because it is never used.

```
  static ErrorOr<std::unique_ptr<MemoryBuffer>>
  getFile(const Twine &Filename, bool IsText = false,
          bool RequiresNullTerminator = true, bool IsVolatile = false);

  static ErrorOr<std::unique_ptr<MemoryBuffer>>
  getFileOrSTDIN(const Twine &Filename, bool IsText = false,
                 bool RequiresNullTerminator = true);

 static ErrorOr<std::unique_ptr<MB>>
 getFileAux(const Twine &Filename, uint64_t MapSize, uint64_t Offset,
            bool IsText, bool RequiresNullTerminator, bool IsVolatile);

  static ErrorOr<std::unique_ptr<WritableMemoryBuffer>>
  getFile(const Twine &Filename, bool IsVolatile = false);
```

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D99182
2021-03-25 09:47:49 -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 [PDB] Fix unsigned integer overflow 2021-02-26 11:26:53 -05: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
NativeEnumLineNumbers.cpp
NativeEnumModules.cpp
NativeEnumSymbols.cpp [llvm-symbolizer] Add inline stack traces for Windows. 2020-11-17 13:19:13 -08:00
NativeEnumTypes.cpp
NativeExeSymbol.cpp
NativeFunctionSymbol.cpp [llvm-symbolizer] Fix native symbolization on windows for inline sites. 2020-11-30 14:27:35 -08:00
NativeInlineSiteSymbol.cpp [llvm-symbolizer] Add inline stack traces for Windows. 2020-11-17 13:19:13 -08:00
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 fix typos to cycle bots 2020-12-12 20:19:33 -05:00
NativeSymbolEnumerator.cpp
NativeTypeArray.cpp
NativeTypeBuiltin.cpp
NativeTypeEnum.cpp
NativeTypeFunctionSig.cpp
NativeTypePointer.cpp
NativeTypeTypedef.cpp
NativeTypeUDT.cpp fix typos to cycle bots 2020-12-12 20:19:33 -05:00
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