- 99d1b29 Use StringRef for MemoryBuffer identifier API (NFC) by Mehdi Amini · 9 years ago
- 69cb000 Fix undefined behavior when compiling in C++14 mode (with sized deletion by Richard Smith · 10 years ago
- da00f2f Update to use new name alignTo(). by Rui Ueyama · 10 years ago
- 6e08126 [llvm-pdbdump] Provide a mechanism to dump the raw contents of a PDB by David Majnemer · 10 years ago
- 1c156f7 [UB] Fix yet another use of memcpy with a null pointer argument. I think by Chandler Carruth · 10 years ago
- f00654e Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) by Alexander Kornienko · 10 years ago
- 70bc5f1 Fixed/added namespace ending comments using clang-tidy. NFC by Alexander Kornienko · 10 years ago
- 16132e6 Purge unused includes throughout libSupport. by Benjamin Kramer · 11 years ago
- a604d6c Pass EC by reference to MemoryBufferMMapFile to return error code. by Yaron Keren · 11 years ago
- 7eb1f18 Remove a convoluted way of calling close by moving the call to the only caller. by Rafael Espindola · 11 years ago
- c0610bf Remove dead code. NFC. by Rafael Espindola · 11 years ago
- 7c3f6ac [Support] Add MemoryBuffer::getFileSlice() by Nick Kledzik · 11 years ago
- d2c7fd8 Remove the IsVolatileSize parameter of getOpenFileSlice. by Rafael Espindola · 11 years ago
- 0cb3c9b Be consistent about using "const Twine &" for filenames. by Rafael Espindola · 11 years ago
- 3560ff2 Return a std::unique_ptr when creating a new MemoryBuffer. by Rafael Espindola · 11 years ago
- d96d553 Pass a MemoryBufferRef when we can avoid taking ownership. by Rafael Espindola · 11 years ago
- 48af1c2 Don't own the buffer in object::Binary. by Rafael Espindola · 11 years ago
- afd122f Fix typo. by Eric Christopher · 11 years ago
- 9721bd0 Reword comment slightly. by Eric Christopher · 11 years ago
- f394f83 getNewMemBuffer memsets the buffer to zeros, by Yaron Keren · 11 years ago
- 56bc341 MemoryBuffer: Don't use mmap when FileSize is multiple of 4k on Cygwin. by NAKAMURA Takumi · 11 years ago
- adf21f2 Update the MemoryBuffer API to use ErrorOr. by Rafael Espindola · 11 years ago
- 2a826e4 Finishing touch for the std::error_code transition. by Rafael Espindola · 11 years ago
- b4ad29b Fix build on windows. by Rafael Espindola · 11 years ago
- db4ed0b Remove 'using std::errro_code' from lib. by Rafael Espindola · 11 years ago
- 3acea39 Don't use 'using std::error_code' in include/llvm. by Rafael Espindola · 11 years ago
- a6e9c3e Remove system_error.h. by Rafael Espindola · 11 years ago
- ed6882b Don't import make_error_code into the llvm namespace. by Rafael Espindola · 11 years ago
- 7e577f7 Don't put generic_category in the llvm namespace. by Rafael Espindola · 11 years ago
- 5c4f829 Use std::error_code instead of llvm::error_code. by Rafael Espindola · 11 years ago
- 6a9aae7 There is no posix_category in std, use generic_category. by Rafael Espindola · 11 years ago
- 03bddfe Use error_code() instead of error_code::succes() by Rafael Espindola · 11 years ago
- d71b6df MemoryBuffer: Use GetNativeSystemInfo() by Alp Toker · 11 years ago
- b816593 Remove last uses of OwningPtr from llvm. As far as I can tell these method versions are not used by lldb, lld, or clang. by Craig Topper · 11 years ago
- c7bd4d2 MemoryBuffer: don't force mmap when stat fails by Alp Toker · 11 years ago
- bf89603 MemoryBuffer: remove unusued definitions by Alp Toker · 11 years ago
- dff3ef8 [Support/MemoryBuffer] Remove the assertion that the file size did not shrink. by Argyrios Kyrtzidis · 11 years ago
- 8c1eafc [Support/MemoryBuffer] Rename IsVolatile -> IsVolatileSize and add a comment about the use case for the new parameter. by Argyrios Kyrtzidis · 12 years ago
- bde5927 [Support/MemoryBuffer] Move the IsVolatile check inside shouldUseMmap() and make sure to zero-initialize the rest by Argyrios Kyrtzidis · 12 years ago
- 20a92ae [Support/MemoryBuffer] Introduce a boolean parameter (false by default) 'IsVolatile' for the open file functions. by Argyrios Kyrtzidis · 12 years ago
- c10719f [C++11] Make use of 'nullptr' in the Support library. by Craig Topper · 12 years ago
- 6ff5aa7 [C++11] Remove 'virtual' keyword from methods marked with 'override' keyword. by Craig Topper · 12 years ago
- fba0664 [C++11] Add overloads for externally used OwningPtr functions. by Ahmed Charles · 12 years ago
- 7315602 Switch all uses of LLVM_OVERRIDE to just use 'override' directly. by Craig Topper · 12 years ago
- 86a8e1e MemoryBuffer: Increase the alignment of small file buffers to 16 by Reid Kleckner · 12 years ago
- 1d19c8f Change MemoryBuffer::getFile to take a Twine. by Rafael Espindola · 12 years ago
- 305a225 Fix typo by Matt Arsenault · 12 years ago
- 65fc51b MemoryBuffer.cpp: Don't peek the next page if file is multiple of *physical* pagesize(4k) but is not multiple of AllocationGranularity(64k), when a null terminator is required, on cygwin and win32. by NAKAMURA Takumi · 12 years ago
- 9542678 Whitespace. by NAKAMURA Takumi · 12 years ago
- 26c8ea6 MemoryBuffer.cpp: Consider if PageSize were not 4096 in shouldUseMmap(). Follow-up to r188903. by NAKAMURA Takumi · 12 years ago
- 3d2ac2e Split getOpenFile into getOpenFile and getOpenFileSlice. by Rafael Espindola · 12 years ago
- 4d10587 Convert two uses if fstat with sys::fs::status. by Rafael Espindola · 12 years ago
- 6d35481 Add a wrapper for open. by Rafael Espindola · 12 years ago
- 8ea26d6 Remove an extra is_directory call. by Rafael Espindola · 12 years ago
- 8c81172 keep only the StringRef version of getFileOrSTDIN. by Rafael Espindola · 12 years ago
- cb2eca0 Remove the program class. by Rafael Espindola · 12 years ago
- d883087 Remove the old file memory mapping functions. by Rafael Espindola · 12 years ago
- a73cc5e Put private class into an anonmyous namespace. by Benjamin Kramer · 13 years ago
- 42ad29f [Support] Fix lifetime of file descriptors when using MemoryBuffer. by Michael J. Spencer · 13 years ago
- 2343a74 [Support][MemoryBuffer] Use sys::fs::mapped_file_region instead of sys::Path::MapInFilePages. by Michael J. Spencer · 13 years ago
- db4443f In llvm::MemoryBuffer::getFile() remove an unnecessary stat call check. by Argyrios Kyrtzidis · 13 years ago
- 3e17294 Update a portability kludge to keep it in sync with changes in the code by Dan Gohman · 13 years ago
- 782609e Whitelist files and block devices instead of blacklisting fifos and by Dan Gohman · 13 years ago
- 22954db Don't trust st_size of a character device. This fixes using by Dan Gohman · 13 years ago
- acd64be Go ahead and get rid of the old page size interface and convert all the by Chandler Carruth · 13 years ago
- ed0881b Use the new script to sort the includes of every file under lib. by Chandler Carruth · 13 years ago
- e2d25c2 MemoryBuffer: Windows doesn't define S_IFIFO. by Daniel Dunbar · 13 years ago
- 43a172d MemoryBuffer: Support reading named pipes in getFile(). by Daniel Dunbar · 13 years ago
- 3186c01 Add LLVM_OVERRIDE to methods that override their base classes. by Craig Topper · 13 years ago
- f141156 In MemoryBuffer::getOpenFile() don't verify that the mmap'ed by Argyrios Kyrtzidis · 13 years ago
- 4cb2e2d Remove an "else" that snuck in after a "return" ;) by Kaelyn Uhrain · 13 years ago
- 23fb5c3 Check that a file is not a directory before reading it into a MemoryBuffer. by Kaelyn Uhrain · 13 years ago
- ef909265 In MemoryBuffer::getOpenFile() make sure that the buffer is null-terminated if by Argyrios Kyrtzidis · 14 years ago
- 3dc531e Add a sanity check in MemoryBuffer::getOpenFile() to make sure we don't hang by Argyrios Kyrtzidis · 14 years ago
- 18544b9 Change default error_code ctor to a 'named ctor' so it's more self-documenting. by David Blaikie · 14 years ago
- e1effb0 Add configure checking for pread(2) and use it to save a syscall when reading files. by Benjamin Kramer · 14 years ago
- f22623b Turn error recovery into an assert. by Benjamin Kramer · 14 years ago
- a93b4bc Remove unused include of sys/uio.h in MemoryBuffer.cpp. It was not correctly protected by ifdef either. by David Meyer · 14 years ago
- 639222d use 64-bit types instead of off_t/size_t to avoid the issue when by Ivan Krasin · 14 years ago
- 6078926 random comment cleanups. by Chris Lattner · 14 years ago
- e203bbb Add MemoryBuffer::getBufferKind() to report whether a memory buffer uses malloc'ed or mmap'ed memory. This is for performance analysis. by Ted Kremenek · 15 years ago
- 2475adc We don't need a null terminator for the output file. by Rafael Espindola · 15 years ago
- 7c9cc46 Check RequiresNullTerminator first, or we might read from an invalid address. by Rafael Espindola · 15 years ago
- ab959a2 Use RequiresNullTerminator to create buffers without a null terminator by Rafael Espindola · 15 years ago
- cbe6a1a Don't compute the file size if we don't need to. by Rafael Espindola · 15 years ago
- 258a605 Add r127409 back now that the windows file was updated. by Rafael Espindola · 15 years ago
- e413d9d3 Revert r127409 which broke all the Windows bots. by Jakob Stoklund Olesen · 15 years ago
- ea5a137 Add support for MemoryBuffers that are not null terminated and add by Rafael Espindola · 15 years ago
- 56e41f7 Don't open the file again in the gold plugin. To be able to do this, update by Rafael Espindola · 15 years ago
- 0de20af Add missing standard headers. Patch by Joerg Sonnenberger! by Nick Lewycky · 15 years ago
- 39a0ffc MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> via an out parm. by Michael J. Spencer · 15 years ago
- 7b6fef8 Support/MemoryBuffer: Replace all uses of std::string *ErrMsg with error_code &ec. And fix clients. by Michael J. Spencer · 15 years ago
- 447762d Merge System into Support. by Michael J. Spencer · 15 years ago
- 6bf4e6d add a MemoryBuffer::getOpenFile method, which turns an open by Chris Lattner · 15 years ago
- 2dd97d2 Revert functionality doug added in r98575 that was never by Chris Lattner · 15 years ago
- 58e6c2e Rewrite MemoryBuffer::getSTDIN to use read(2) and a SmallVector buffer. by Benjamin Kramer · 15 years ago
- 948dd57 Bring back the empty vector workaround I removed in r106839. Looks like MSVC needs it. by Benjamin Kramer · 15 years ago
- ce2a922 Tweak MemoryBuffer to allocate the class itself, the name and possibly the by Benjamin Kramer · 15 years ago
- b377e28 Add overloads for getFile and getFileOrSTDIN which take a const char * by Dan Gohman · 15 years ago
- 2ceaa71 Add an explicit keyword. by Dan Gohman · 15 years ago