aboutsummaryrefslogtreecommitdiffstats
path: root/lib/System/Unix/MappedFile.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Must include sys/stat.h before declaring a 'struct stat'Brian Gaeke2004-10-051-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16728 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a couple of includes to get this to compile on Sparc.Tanya Lattner2004-10-051-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16685 91177308-0d34-0410-b5e6-96231b3b80d8
* Solaris doesn't have MAP_FILE.Chris Lattner2004-10-051-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16682 91177308-0d34-0410-b5e6-96231b3b80d8
* First version of the MappedFile abstraction for operating system idependentReid Spencer2004-10-041-0/+138
mapping of files. This first version uses mmap where its available. The class needs to implement an alternate mechanism based on malloc'd memory and file reading/writing for platforms without virtual memory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16649 91177308-0d34-0410-b5e6-96231b3b80d8