diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2004-09-20 04:13:43 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2004-09-20 04:13:43 +0000 |
| commit | 45101043eff95c4e0903c4f4f200c3158bf00d84 (patch) | |
| tree | fe3ca4b3fea2c19704015848fdce4f3b3fc0de28 /llvm/lib/Support/FileUtilities.cpp | |
| parent | ac16ea98de33e2797711067a016446141abdc5e2 (diff) | |
| download | llvm-45101043eff95c4e0903c4f4f200c3158bf00d84.zip llvm-45101043eff95c4e0903c4f4f200c3158bf00d84.tar.gz llvm-45101043eff95c4e0903c4f4f200c3158bf00d84.tar.bz2 | |
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.
llvm-svn: 16428
Diffstat (limited to 'llvm/lib/Support/FileUtilities.cpp')
| -rw-r--r-- | llvm/lib/Support/FileUtilities.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Support/FileUtilities.cpp b/llvm/lib/Support/FileUtilities.cpp index 6829f15..3f2f97b 100644 --- a/llvm/lib/Support/FileUtilities.cpp +++ b/llvm/lib/Support/FileUtilities.cpp @@ -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 } |
