mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
Remove MappedFile support for mapping files for write and exec
and shared. This complicates the design, is not used, and probably doesn't even work. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49022 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -148,7 +148,7 @@ bool
|
||||
Archive::mapToMemory(std::string* ErrMsg)
|
||||
{
|
||||
mapfile = new sys::MappedFile();
|
||||
if (mapfile->open(archPath, sys::MappedFile::READ_ACCESS, ErrMsg))
|
||||
if (mapfile->open(archPath, ErrMsg))
|
||||
return true;
|
||||
if (!(base = (char*) mapfile->map(ErrMsg)))
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user