diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-04-01 03:10:22 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-04-01 03:10:22 +0000 |
| commit | 62385ba3a033b24acca65e818d442f7500cba2f8 (patch) | |
| tree | 75f44ace871c30b5fda7d1f95f633886c305633f /llvm/lib/Archive/Archive.cpp | |
| parent | f5b0b76d28bbd763ddef73e4ca24f27a836a91dd (diff) | |
| download | bcm5719-llvm-62385ba3a033b24acca65e818d442f7500cba2f8.tar.gz bcm5719-llvm-62385ba3a033b24acca65e818d442f7500cba2f8.zip | |
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.
llvm-svn: 49022
Diffstat (limited to 'llvm/lib/Archive/Archive.cpp')
| -rw-r--r-- | llvm/lib/Archive/Archive.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Archive/Archive.cpp b/llvm/lib/Archive/Archive.cpp index 125b22e9d94..c5da1145384 100644 --- a/llvm/lib/Archive/Archive.cpp +++ b/llvm/lib/Archive/Archive.cpp @@ -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; |

