llvm.org GIT mirror llvm / 9bc4060
Unbreak build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36559 91177308-0d34-0410-b5e6-96231b3b80d8 Jeff Cohen 13 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1313 #include "llvm/Support/MemoryBuffer.h"
1414 #include "llvm/System/MappedFile.h"
1515 #include "llvm/System/Process.h"
16 #include
1617 #include
1718 #include
1819 #include
157158
158159 MemoryBuffer *MemoryBuffer::getFile(const char *FilenameStart, unsigned FnSize,
159160 int64_t FileSize) {
160 sys::PathWithStatus P(FilenameStart, FnSize);
161 sys::PathWithStatus P(std::string(FilenameStart, FnSize));
161162 #if 1
162163 return new MemoryBufferMMapFile(P);
163164 #else