mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
We don't need a null terminator for the output file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128098 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -64,10 +64,12 @@ public:
|
||||
/// specified, this means that the client knows that the file exists and that
|
||||
/// it has the specified size.
|
||||
static error_code getFile(StringRef Filename, OwningPtr<MemoryBuffer> &result,
|
||||
int64_t FileSize = -1);
|
||||
int64_t FileSize = -1,
|
||||
bool RequiresNullTerminator = true);
|
||||
static error_code getFile(const char *Filename,
|
||||
OwningPtr<MemoryBuffer> &result,
|
||||
int64_t FileSize = -1);
|
||||
int64_t FileSize = -1,
|
||||
bool RequiresNullTerminator = true);
|
||||
|
||||
/// getOpenFile - Given an already-open file descriptor, read the file and
|
||||
/// return a MemoryBuffer.
|
||||
|
Reference in New Issue
Block a user