aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/MemoryBuffer.cpp
AgeCommit message (Expand)AuthorFilesLines
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
2014-06-13Finishing touch for the std::error_code transition.Rafael Espindola1-1/+2
2014-06-13Fix build on windows.Rafael Espindola1-1/+1
2014-06-13Remove 'using std::errro_code' from lib.Rafael Espindola1-53/+54
2014-06-12Don't use 'using std::error_code' in include/llvm.Rafael Espindola1-0/+1
2014-06-12Remove system_error.h.Rafael Espindola1-1/+1
2014-06-12Don't import make_error_code into the llvm namespace.Rafael Espindola1-1/+1
2014-06-12Don't put generic_category in the llvm namespace.Rafael Espindola1-3/+3
2014-06-11Use std::error_code instead of llvm::error_code.Rafael Espindola1-1/+1
2014-06-11There is no posix_category in std, use generic_category.Rafael Espindola1-3/+3
2014-05-31Use error_code() instead of error_code::succes()Rafael Espindola1-3/+3
2014-05-19MemoryBuffer: Use GetNativeSystemInfo()Alp Toker1-9/+0
2014-05-18Remove last uses of OwningPtr from llvm. As far as I can tell these method ve...Craig Topper1-52/+0
2014-05-09MemoryBuffer: don't force mmap when stat failsAlp Toker1-3/+2
2014-05-09MemoryBuffer: remove unusued definitionsAlp Toker1-8/+0
2014-05-06[Support/MemoryBuffer] Remove the assertion that the file size did not shrink.Argyrios Kyrtzidis1-3/+0
2014-05-06[Support/MemoryBuffer] Rename IsVolatile -> IsVolatileSize and add a comment ...Argyrios Kyrtzidis1-22/+23
2014-05-06[Support/MemoryBuffer] Move the IsVolatile check inside shouldUseMmap() and m...Argyrios Kyrtzidis1-7/+13
2014-05-05[Support/MemoryBuffer] Introduce a boolean parameter (false by default) 'IsVo...Argyrios Kyrtzidis1-18/+32
2014-04-07[C++11] Make use of 'nullptr' in the Support library.Craig Topper1-3/+3
2014-03-10[C++11] Remove 'virtual' keyword from methods marked with 'override' keyword.Craig Topper1-4/+4
2014-03-05[C++11] Add overloads for externally used OwningPtr functions.Ahmed Charles1-20/+68
2014-03-02Switch all uses of LLVM_OVERRIDE to just use 'override' directly.Craig Topper1-4/+4
2013-12-16MemoryBuffer: Increase the alignment of small file buffers to 16Reid Kleckner1-2/+3
2013-10-25Change MemoryBuffer::getFile to take a Twine.Rafael Espindola1-8/+12
2013-09-10Fix typoMatt Arsenault1-1/+1
2013-09-04MemoryBuffer.cpp: Don't peek the next page if file is multiple of *physical* ...NAKAMURA Takumi1-0/+9
2013-09-04Whitespace.NAKAMURA Takumi1-1/+1