projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0729d4
)
Fix signed-unsigned comparison warning.
author
Zachary Turner
<zturner@google.com>
Thu, 8 Mar 2018 20:57:37 +0000
(20:57 +0000)
committer
Zachary Turner
<zturner@google.com>
Thu, 8 Mar 2018 20:57:37 +0000
(20:57 +0000)
llvm-svn: 327060
llvm/lib/Support/MemoryBuffer.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Support/MemoryBuffer.cpp
b/llvm/lib/Support/MemoryBuffer.cpp
index 9f9987b8e6e3fd230c0bdc4178c4addb7b6a8c3e..a9064654f2c98f160be85b80fe4f8be0351fb5ff 100644
(file)
--- a/
llvm/lib/Support/MemoryBuffer.cpp
+++ b/
llvm/lib/Support/MemoryBuffer.cpp
@@
-360,7
+360,7
@@
static bool shouldUseMmap(int FD,
}
static ErrorOr<std::unique_ptr<WriteThroughMemoryBuffer>>
-getReadWriteFile(const Twine &Filename, int64_t FileSize, uint64_t MapSize,
+getReadWriteFile(const Twine &Filename,
u
int64_t FileSize, uint64_t MapSize,
uint64_t Offset) {
int FD;
std::error_code EC = sys::fs::openFileForWrite(