Put in a #error in the event that we don't have an mmap that can map a file

into memor. This is just a reminder that the ReadFileIntoAddressSpace
function needs to be properly converted to lib/System and implemented via
read/write if there's no mmap of file support.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16428 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2004-09-20 04:13:43 +00:00
parent 777ce17d35
commit d232438f54

View File

@ -296,6 +296,7 @@ void *llvm::ReadFileIntoAddressSpace(const std::string &Filename,
return Buffer;
#else
// FIXME: implement with read/write
#error Unimplemented ReadFileIntoAddressSpace - need to use read/write.
return 0;
#endif
}