summaryrefslogtreecommitdiff
path: root/include/llvm/Support/PathV1.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/PathV1.h')
-rw-r--r--include/llvm/Support/PathV1.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/llvm/Support/PathV1.h b/include/llvm/Support/PathV1.h
index 024bb39ced..d7753a3e71 100644
--- a/include/llvm/Support/PathV1.h
+++ b/include/llvm/Support/PathV1.h
@@ -608,15 +608,14 @@ namespace sys {
///
/// This API is not intended for general use, clients should use
/// MemoryBuffer::getFile instead.
- static const char *MapInFilePages(int FD, size_t FileSize,
- off_t Offset);
+ static const char *MapInFilePages(int FD, uint64_t FileSize);
/// UnMapFilePages - Free pages mapped into the current process by
/// MapInFilePages.
///
/// This API is not intended for general use, clients should use
/// MemoryBuffer::getFile instead.
- static void UnMapFilePages(const char *Base, size_t FileSize);
+ static void UnMapFilePages(const char *Base, uint64_t FileSize);
/// @}
/// @name Data