Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
c876e3d42be916a405fcbbc2fa75ecef9de95e11
/
llvm
/
lib
/
Support
/
MemoryBuffer.cpp
f78650a
Remove trailing space
by Fangrui Song
· 7 years ago
c39ea92
[Support] Remove unnecessary MemoryBuffer::anchor (where the destructor serves as the key function)
by Fangrui Song
· 7 years ago
b2c73c4
Fix build errors on some configurations
by Pavel Labath
· 7 years ago
1f67a3c
[FileSystem] Split up the OpenFlags enumeration.
by Zachary Turner
· 7 years ago
5f8f34e4
Remove \brief commands from doxygen comments.
by Adrian Prantl
· 8 years ago
79f2d09
Rename ObjectMemoryBuffer to SmallVectorMemoryBuffer; NFCI
by Weiming Zhao
· 8 years ago
7c16977
NFC: Move ObjectMemoryBuffer to support
by Weiming Zhao
· 8 years ago
1bd4000
Add missing vtable anchors
by Weiming Zhao
· 8 years ago
0f701c4
Fix signed-unsigned comparison warning.
by Zachary Turner
· 8 years ago
adad330
[Support] Add WriteThroughMemoryBuffer.
by Zachary Turner
· 8 years ago
e04f8ab
[Support] Remove MemoryBuffer::getNewMemBuffer
by Pavel Labath
· 8 years ago
9aaf5d3
[Support] Add WritableMemoryBuffer::getNewMemBuffer
by Pavel Labath
· 8 years ago
f13411e
[Support] Remove MemoryBuffer::getNewUninitMemBuffer
by Pavel Labath
· 8 years ago
605636d
[Support] Add WritableMemoryBuffer class
by Pavel Labath
· 8 years ago
fe09f50
Recommit "[Support] Add RetryAfterSignal helper function"
by Pavel Labath
· 8 years ago
efd57a8
Revert "[Support] Add RetryAfterSignal helper function" and subsequent fix
by Pavel Labath
· 8 years ago
1f6aea2
[Support] Add RetryAfterSignal helper function
by Pavel Labath
· 8 years ago
392ed9d
[Support] Add a function to check if a file resides locally.
by Zachary Turner
· 9 years ago
43313b3
Try to fix line endings.
by Zachary Turner
· 9 years ago
3788818
Remove svn:eol-style property from 2 files.
by Zachary Turner
· 9 years ago
7943fec
Add interface to compute number of physical cores on host system
by Teresa Johnson
· 9 years ago
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
· 11 years ago
bde5927
[Support/MemoryBuffer] Move the IsVolatile check inside shouldUseMmap() and make sure to zero-initialize the rest
by Argyrios Kyrtzidis
· 11 years ago
20a92ae
[Support/MemoryBuffer] Introduce a boolean parameter (false by default) 'IsVolatile' for the open file functions.
by Argyrios Kyrtzidis
· 11 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
Next »