diff options
author | Chris Lattner <sabre@nondot.org> | 2008-04-01 06:00:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-04-01 06:00:12 +0000 |
commit | 157d70a3dff983450542757d5ddba1da3375589d (patch) | |
tree | 4ef5d0f12b24a423ba7601f032f9eb730748abcc /lib | |
parent | 54d19d42bb9b276b8b0b61d9bcd38ec94797138f (diff) | |
download | external_llvm-157d70a3dff983450542757d5ddba1da3375589d.zip external_llvm-157d70a3dff983450542757d5ddba1da3375589d.tar.gz external_llvm-157d70a3dff983450542757d5ddba1da3375589d.tar.bz2 |
Stub out some sys::Path::MapInFilePages/UnMapFilePages methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49030 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/System/Unix/Path.inc | 10 | ||||
-rw-r--r-- | lib/System/Win32/Path.inc | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/lib/System/Unix/Path.inc b/lib/System/Unix/Path.inc index e112132..b0578dc 100644 --- a/lib/System/Unix/Path.inc +++ b/lib/System/Unix/Path.inc @@ -745,5 +745,15 @@ Path::makeUnique(bool reuse_current, std::string* ErrMsg) { return false; } +/// MapInFilePages - Not yet implemented on win32. +const char *Path::MapInFilePages(int FD, uint64_t FileSize) { + return 0; +} + +/// MapInFilePages - Not yet implemented on win32. +void Path::UnMapFilePages(const char *Base, uint64_t FileSize) { + assert(0 && "NOT IMPLEMENTED"); +} + } // end llvm namespace diff --git a/lib/System/Win32/Path.inc b/lib/System/Win32/Path.inc index b25e661..da29cd3 100644 --- a/lib/System/Win32/Path.inc +++ b/lib/System/Win32/Path.inc @@ -773,5 +773,15 @@ Path::createTemporaryFileOnDisk(bool reuse_current, std::string* ErrMsg) { return false; } +/// MapInFilePages - Not yet implemented on win32. +const char *Path::MapInFilePages(int FD, uint64_t FileSize) { + return 0; +} + +/// MapInFilePages - Not yet implemented on win32. +void Path::UnMapFilePages(const char *Base, uint64_t FileSize) { + assert(0 && "NOT IMPLEMENTED"); +} + } } |