1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/lib/Object
Abhina Sreeskantharajan d30f6cb8e4 [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
..
Archive.cpp static const char *const foo => const char foo[] 2020-12-01 10:33:18 -08:00
ArchiveWriter.cpp [llvm-ar][Object] Fix detection of need for 64-bit archive symbol tables 2020-10-26 12:29:28 +00:00
Binary.cpp [NFC] Reordering parameters in getFile and getFileOrSTDIN 2021-03-25 09:47:49 -04:00
CMakeLists.txt [FaultsMaps][llvm-objdump] Move FaultMapParser to Object/. Remove CodeGen dependency from llvm-objdump 2021-01-27 10:39:59 -08:00
COFFImportFile.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
COFFModuleDefinition.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
COFFObjectFile.cpp [llvm] Use llvm::sort (NFC) 2021-01-17 10:39:45 -08:00
Decompressor.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
ELF.cpp [llvm-readelf] Support dumping the BB address map section with --bb-addr-map. 2021-03-08 16:20:11 -08:00
ELFObjectFile.cpp [AMDGPU] gfx90a support 2021-02-17 16:01:32 -08:00
Error.cpp Error.h - GenericBinaryError - pass Twine arg by reference not value. 2020-06-27 10:12:20 +01:00
FaultMapParser.cpp [FaultsMaps][llvm-objdump] Move FaultMapParser to Object/. Remove CodeGen dependency from llvm-objdump 2021-01-27 10:39:59 -08:00
IRObjectFile.cpp [Object] Change uint32_t getSymbolFlags() to Expected<uint32_t> getSymbolFlags(). 2020-04-18 21:27:57 +08:00
IRSymtab.cpp [IRSymTab] Set FB_used on llvm.compiler.used symbols 2021-03-03 16:22:30 -08:00
MachOObjectFile.cpp [Object][MachO] Handle end iterator in getSymbolType() 2021-03-17 15:06:45 -07:00
MachOUniversal.cpp [llvm-lipo] Add support for bitcode files 2020-08-25 21:11:18 -07:00
MachOUniversalWriter.cpp [llvm-objcopy][NFC] replace class Buffer/MemBuffer/FileBuffer with streams. 2021-03-10 23:50:04 +03:00
Minidump.cpp Object/minidump: Add support for the MemoryInfoList stream 2019-10-08 14:15:32 +00:00
ModuleSymbolTable.cpp [ThinLTO] Always parse module level inline asm with At&t dialect (PR46503) 2020-07-01 09:43:45 +02:00
Object.cpp
ObjectFile.cpp Recommit: [llvm-readelf/obj] - Allow dumping of ELF header even if some elements are corrupt. 2020-11-09 12:53:53 +03:00
RecordStreamer.cpp [MC] Support .symver *, *, remove 2021-03-06 15:23:02 -08:00
RecordStreamer.h [MC] Support .symver *, *, remove 2021-03-06 15:23:02 -08:00
RelocationResolver.cpp [WebAssembly] Add new relocation for location relative data 2021-03-08 11:34:10 -08:00
SymbolicFile.cpp Recommit: [llvm-readelf/obj] - Allow dumping of ELF header even if some elements are corrupt. 2020-11-09 12:53:53 +03:00
SymbolSize.cpp [llvm] Use *::empty (NFC) 2021-01-16 09:40:55 -08:00
TapiFile.cpp [llvm/Object] Reimplment basic_symbol_iterator in TapiFile 2020-06-12 00:03:32 -07:00
TapiUniversal.cpp [llvm][llvm-nm] add TextAPI/MachO support 2020-06-11 18:54:16 -07:00
WasmObjectFile.cpp [WebAssembly] Rename WasmLimits::Initial to ::Minimum. NFC. 2021-03-24 09:10:11 +01:00
WindowsMachineFlag.cpp
WindowsResource.cpp Prevent gcc from issuing a warning upon coffnamecpy 2020-02-18 16:13:59 +01:00
XCOFFObjectFile.cpp [XCOFF][llvm-dwarfdump] llvm-dwarfdump support for XCOFF 2021-03-17 21:21:51 -04:00