projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
777ce17
)
Put in a #error in the event that we don't have an mmap that can map a file
author
Reid Spencer
<rspencer@reidspencer.com>
Mon, 20 Sep 2004 04:13:43 +0000
(
04:13
+0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Mon, 20 Sep 2004 04:13:43 +0000
(
04:13
+0000)
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
lib/Support/FileUtilities.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/FileUtilities.cpp
b/lib/Support/FileUtilities.cpp
index 6829f155b8e262b61c444a87038728031b96fa31..3f2f97b22e8c04b757ff70b5369adfdf1942f1f2 100644
(file)
--- a/
lib/Support/FileUtilities.cpp
+++ b/
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
}