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
9f9987b
..
a906465
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(