OSDN Git Service

For PR351:
authorReid Spencer <rspencer@reidspencer.com>
Mon, 13 Dec 2004 18:25:27 +0000 (18:25 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Mon, 13 Dec 2004 18:25:27 +0000 (18:25 +0000)
commit9153f8f4765aa7a55cfb28a0752469f5545e188a
treeae9e3f6385d67cffe574f3791c657a0347867e3f
parent20d793aad1fdd8d64361fa3341925893059cc2e1
For PR351:
Use sys::MappedFile instead of ReadFileIntoAddressSpace and
UnmapFileFromAddressSpace. sys::MappedFile has the nice property that it
cleans up after itself so exception handling can be removed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18902 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Bytecode/Reader/ReaderWrappers.cpp