1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00
llvm-mirror/lib
Fangrui Song 8bc7bc4570 [Support] Allow FileOutputBuffer::create to create an empty file
Size==0 triggers `assert(Size != 0)` in mapped_file_region::init.
I plan to use an empty file in D79339 (llvm-objcopy --dump-section).

According to POSIX, "If len is zero, mmap() shall fail and no mapping
shall be established." Just specialize case Size=0 to use
createInMemoryBuffer.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D79338
2020-05-05 08:11:58 -07:00
..
Analysis [NFC][CostModel] Add TargetCostKind to relevant APIs 2020-05-05 10:35:54 +01:00
AsmParser Add IR constructs for preallocated (inalloca replacement) 2020-04-27 16:15:50 -07:00
BinaryFormat XCOFF.h - replace StringRef.h include with forward declaration. NFC. 2020-04-23 13:52:48 +01:00
Bitcode [BitcodeReader] Simplify raw attribute handling (NFC) 2020-04-30 18:47:14 +02:00
Bitstream [Bitcode] reserve in front of push_back loops. NFCI. 2020-05-01 15:52:53 +02:00
CodeGen [NFC][CostModel] Add TargetCostKind to relevant APIs 2020-05-05 10:35:54 +01:00
DebugInfo [PDB] Move stream index tracking to GSIStreamBuilder 2020-05-04 20:51:09 -07:00
Demangle
DWARFLinker [Debuginfo][NFC] Avoid double calling of DWARFDie::find(DW_AT_name). 2020-05-03 14:00:25 +03:00
ExecutionEngine [ORC] Rename SearchOrder operations on JITDylib to LinkOrder. 2020-05-04 16:47:52 -07:00
Extensions Update compiler extension integration into the build system 2020-04-24 09:40:14 +02:00
Frontend [cmake] LLVMFrontendOpenMP - fix include/llvm/Frontend/OpenMP header path 2020-04-18 12:31:39 +01:00
Fuzzer
FuzzMutate
IR [Verifier] Constrain where DILocations may be nested 2020-05-04 14:02:43 -07:00
IRReader
LineEditor
Linker [SVE] Add new VectorType subclasses 2020-04-22 08:59:01 -07:00
LTO [LTO] Suppress emission of empty combined module by default 2020-05-04 18:31:09 -07:00
MC [MC][Target][XCOFF] Consolidate MCAsmInfo XCOFF defaults; NFC 2020-04-30 20:48:30 -04:00
MCA [MCA] Fixed a bug where loads and stores were sometimes incorrectly marked as depedent. Fixes PR45793. 2020-05-05 10:25:36 +01:00
Object [Object] Change ObjectFile::getSymbolValue() return type to Expected<uint64_t> 2020-05-02 14:04:44 +08:00
ObjectYAML [PDB] Remove unique_ptr wrapper around C13 line table subsections 2020-05-02 16:35:07 -07:00
Option
Passes [llvm][NFC] Factor out inlining pipeline as a module pipeline. 2020-04-24 09:24:12 -07:00
ProfileData std::isspace -> llvm::isSpace (where locale should be ignored) 2020-05-02 15:36:04 +02:00
Remarks
Support [Support] Allow FileOutputBuffer::create to create an empty file 2020-05-05 08:11:58 -07:00
TableGen [TableGen] Simplify with TGParser::consume() 2020-04-26 15:26:49 -07:00
Target [AMDGPU] Better support for VMEM soft clauses in GCNHazardRecognizer 2020-05-05 15:49:09 +01:00
Testing
TextAPI [cmake] Add headers in TextAPI/Elf and TextAPI/MachO subdirectories 2020-04-24 18:42:44 +01:00
ToolDrivers [ms] llvm-lib gives a more useful error if no inputs and no output path are provided 2020-05-01 07:43:32 -04:00
Transforms [LSR] Don't require register reuse under postinc 2020-05-05 16:04:50 +01:00
WindowsManifest
XRay [Object] Change ObjectFile::getSymbolValue() return type to Expected<uint64_t> 2020-05-02 14:04:44 +08:00
CMakeLists.txt Update compiler extension integration into the build system 2020-04-24 09:40:14 +02:00
LLVMBuild.txt Update compiler extension integration into the build system 2020-04-24 09:40:14 +02:00