aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/MemoryBuffer.cpp
AgeCommit message (Expand)AuthorFilesLines
2019-08-22[Support] Improve readNativeFile(Slice) interfacePavel Labath1-10/+23
2019-08-20Recommit "MemoryBuffer: Add a missing error-check to getOpenFileImpl"Pavel Labath1-1/+3
2019-08-15Revert "MemoryBuffer: Add a missing error-check to getOpenFileImpl"Pavel Labath1-3/+1
2019-08-15MemoryBuffer: Add a missing error-check to getOpenFileImplPavel Labath1-1/+3
2019-07-10[Support] Move llvm::MemoryBuffer to sys::fs::file_tReid Kleckner1-56/+31
2019-05-08[Support] Add error handling to sys::Process::getPageSize().Lang Hames1-1/+1
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2018-07-30Remove trailing spaceFangrui Song1-1/+1
2018-07-27[Support] Remove unnecessary MemoryBuffer::anchor (where the destructor serve...Fangrui Song1-2/+1
2018-06-11Fix build errors on some configurationsPavel Labath1-1/+1
2018-06-07[FileSystem] Split up the OpenFlags enumeration.Zachary Turner1-4/+4
2018-05-01Remove \brief commands from doxygen comments.Adrian Prantl1-1/+1
2018-04-16Rename ObjectMemoryBuffer to SmallVectorMemoryBuffer; NFCIWeiming Zhao1-2/+2
2018-04-15NFC: Move ObjectMemoryBuffer to supportWeiming Zhao1-0/+2
2018-04-11Add missing vtable anchorsWeiming Zhao1-0/+2
2018-03-08Fix signed-unsigned comparison warning.Zachary Turner1-1/+1
2018-03-08[Support] Add WriteThroughMemoryBuffer.Zachary Turner1-4/+55
2018-01-15[Support] Remove MemoryBuffer::getNewMemBufferPavel Labath1-5/+0
2018-01-09[Support] Add WritableMemoryBuffer::getNewMemBufferPavel Labath1-5/+10
2017-12-21[Support] Remove MemoryBuffer::getNewUninitMemBufferPavel Labath1-8/+3
2017-12-19[Support] Add WritableMemoryBuffer classPavel Labath1-61/+96
2017-06-29Recommit "[Support] Add RetryAfterSignal helper function"Pavel Labath1-8/+5
2017-06-22Revert "[Support] Add RetryAfterSignal helper function" and subsequent fixPavel Labath1-5/+8
2017-06-21[Support] Add RetryAfterSignal helper functionPavel Labath1-8/+5
2017-02-21[Support] Add a function to check if a file resides locally.Zachary Turner1-18/+16
2017-02-21Try to fix line endings.Zachary Turner1-457/+457
2017-02-21Remove svn:eol-style property from 2 files.Zachary Turner1-457/+457
2016-10-13Add interface to compute number of physical cores on host systemTeresa Johnson1-0/+12
2016-10-01Use StringRef for MemoryBuffer identifier API (NFC)Mehdi Amini1-5/+5
2016-02-04Fix undefined behavior when compiling in C++14 mode (with sized deletionRichard Smith1-0/+8
2016-01-14Update to use new name alignTo().Rui Ueyama1-1/+1
2015-10-15[llvm-pdbdump] Provide a mechanism to dump the raw contents of a PDBDavid Majnemer1-2/+3
2015-08-04[UB] Fix yet another use of memcpy with a null pointer argument. I thinkChandler Carruth1-1/+2
2015-06-23Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC)Alexander Kornienko1-2/+2
2015-06-19Fixed/added namespace ending comments using clang-tidy. NFCAlexander Kornienko1-2/+2
2015-03-23Purge unused includes throughout libSupport.Benjamin Kramer1-1/+0
2014-12-12Pass EC by reference to MemoryBufferMMapFile to return error code.Yaron Keren1-1/+1
2014-12-11Remove a convoluted way of calling close by moving the call to the only caller.Rafael Espindola1-1/+1
2014-12-04Remove dead code. NFC.Rafael Espindola1-1/+1
2014-10-08[Support] Add MemoryBuffer::getFileSlice()Nick Kledzik1-8/+15
2014-10-07Remove the IsVolatileSize parameter of getOpenFileSlice.Rafael Espindola1-2/+3
2014-10-07Be consistent about using "const Twine &" for filenames.Rafael Espindola1-22/+27
2014-08-27Return a std::unique_ptr when creating a new MemoryBuffer.Rafael Espindola1-34/+27
2014-08-26Pass a MemoryBufferRef when we can avoid taking ownership.Rafael Espindola1-0/+6
2014-08-19Don't own the buffer in object::Binary.Rafael Espindola1-0/+6
2014-08-09Fix typo.Eric Christopher1-1/+1
2014-08-08Reword comment slightly.Eric Christopher1-4/+3
2014-08-06getNewMemBuffer memsets the buffer to zeros,Yaron Keren1-1/+1
2014-08-04MemoryBuffer: Don't use mmap when FileSize is multiple of 4k on Cygwin.NAKAMURA Takumi1-0/+8
2014-07-06Update the MemoryBuffer API to use ErrorOr.Rafael Espindola1-69/+48