mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
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:
parent
777ce17d35
commit
d232438f54
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user