mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 21:29:41 +00:00
Expand the comment on getOpenFileSlice a bit for more details and consistency
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186987 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ab99d04c59
commit
25c6cec2a2
@ -74,8 +74,9 @@ public:
|
||||
int64_t FileSize = -1,
|
||||
bool RequiresNullTerminator = true);
|
||||
|
||||
// Get a MemoryBuffer of part of a file. Since this is in the middle of a
|
||||
// file, the buffer is not null terminated.
|
||||
/// Given an already-open file descriptor, map some slice of it into a
|
||||
/// MemoryBuffer. The slice is specified by an \p Offset and \p MapSize.
|
||||
/// Since this is in the middle of a file, the buffer is not null terminated.
|
||||
static error_code getOpenFileSlice(int FD, const char *Filename,
|
||||
OwningPtr<MemoryBuffer> &Result,
|
||||
uint64_t MapSize, int64_t Offset);
|
||||
|
Loading…
x
Reference in New Issue
Block a user