summaryrefslogtreecommitdiff
path: root/include/llvm/Support/PathV1.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-03-10 18:33:29 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-03-10 18:33:29 +0000
commitf7fdad15d910fc27bc9334faab5b71c101455e1a (patch)
tree5b3994dcede838d15f352bea23fb0d1b3a11ca07 /include/llvm/Support/PathV1.h
parentb78e2ae4caabc67bcacd1e2921e6d9f8ca3a79ad (diff)
downloadllvm-f7fdad15d910fc27bc9334faab5b71c101455e1a.tar.gz
llvm-f7fdad15d910fc27bc9334faab5b71c101455e1a.tar.bz2
llvm-f7fdad15d910fc27bc9334faab5b71c101455e1a.tar.xz
Add r127409 back now that the windows file was updated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127417 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/PathV1.h')
-rw-r--r--include/llvm/Support/PathV1.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Support/PathV1.h b/include/llvm/Support/PathV1.h
index d7753a3e71..024bb39ced 100644
--- a/include/llvm/Support/PathV1.h
+++ b/include/llvm/Support/PathV1.h
@@ -608,14 +608,15 @@ namespace sys {
///
/// This API is not intended for general use, clients should use
/// MemoryBuffer::getFile instead.
- static const char *MapInFilePages(int FD, uint64_t FileSize);
+ static const char *MapInFilePages(int FD, size_t FileSize,
+ off_t Offset);
/// 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, uint64_t FileSize);
+ static void UnMapFilePages(const char *Base, size_t FileSize);
/// @}
/// @name Data