summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-05-31 00:10:47 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-05-31 00:10:47 +0000
commitc2fe96cad74dc869cdb08ed93d4fcd2c1a1f4a95 (patch)
tree3f018bf8cb7be7b0a4d50f167e9b79f63ce85b0f /include
parentc55e193cddd8177db454dae12300cbb137f97eea (diff)
downloadllvm-c2fe96cad74dc869cdb08ed93d4fcd2c1a1f4a95.tar.gz
llvm-c2fe96cad74dc869cdb08ed93d4fcd2c1a1f4a95.tar.bz2
llvm-c2fe96cad74dc869cdb08ed93d4fcd2c1a1f4a95.tar.xz
delete dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209938 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/FileSystem.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/include/llvm/Support/FileSystem.h b/include/llvm/Support/FileSystem.h
index 806a3e376c..56897aa526 100644
--- a/include/llvm/Support/FileSystem.h
+++ b/include/llvm/Support/FileSystem.h
@@ -722,30 +722,6 @@ public:
static int alignment();
};
-/// @brief Memory maps the contents of a file
-///
-/// @param path Path to file to map.
-/// @param file_offset Byte offset in file where mapping should begin.
-/// @param size Byte length of range of the file to map.
-/// @param map_writable If true, the file will be mapped in r/w such
-/// that changes to the mapped buffer will be flushed back
-/// to the file. If false, the file will be mapped read-only
-/// and the buffer will be read-only.
-/// @param result Set to the start address of the mapped buffer.
-/// @returns errc::success if result has been successfully set, otherwise a
-/// platform specific error_code.
-error_code map_file_pages(const Twine &path, off_t file_offset, size_t size,
- bool map_writable, void *&result);
-
-
-/// @brief Memory unmaps the contents of a file
-///
-/// @param base Pointer to the start of the buffer.
-/// @param size Byte length of the range to unmmap.
-/// @returns errc::success if result has been successfully set, otherwise a
-/// platform specific error_code.
-error_code unmap_file_pages(void *base, size_t size);
-
/// Return the path to the main executable, given the value of argv[0] from
/// program startup and the address of main itself. In extremis, this function
/// may fail and return an empty path.