Make MappedFile::map return a const correct pointer, don't leak address space on...
authorChris Lattner <sabre@nondot.org>
Tue, 1 Apr 2008 03:49:38 +0000 (03:49 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 1 Apr 2008 03:49:38 +0000 (03:49 +0000)
commit23ffec82584568b1d789c8697486ad062cfd6711
treee806b13ec353ddcce39a37d3cfcda3bb8f43ba63
parent37db5d67f92504226c17cfbf98c07c7bbe3afc3b
Make MappedFile::map return a const correct pointer, don't leak address space on Unix platforms.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49026 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/System/MappedFile.h
lib/System/Unix/MappedFile.inc
lib/System/Win32/MappedFile.inc