summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/tools/dsymutil/BinaryHolder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/dsymutil/BinaryHolder.cpp b/llvm/tools/dsymutil/BinaryHolder.cpp
index 86af81d0ba0..356156a5ebf 100644
--- a/llvm/tools/dsymutil/BinaryHolder.cpp
+++ b/llvm/tools/dsymutil/BinaryHolder.cpp
@@ -62,7 +62,7 @@ ErrorOr<std::vector<MemoryBufferRef>> BinaryHolder::GetMemoryBuffersForFile(
// (either because the archive is not there anymore, or because the
// archive doesn't contain the requested member), this will still
// provide a sensible error message.
- auto ErrOrFile = MemoryBuffer::getFileOrSTDIN(Filename);
+ auto ErrOrFile = MemoryBuffer::getFileOrSTDIN(Filename, -1, false);
if (auto Err = ErrOrFile.getError())
return Err;
@@ -136,7 +136,7 @@ BinaryHolder::MapArchiveAndGetMemberBuffers(
StringRef Filename, sys::TimePoint<std::chrono::seconds> Timestamp) {
StringRef ArchiveFilename = Filename.substr(0, Filename.find('('));
- auto ErrOrBuff = MemoryBuffer::getFileOrSTDIN(ArchiveFilename);
+ auto ErrOrBuff = MemoryBuffer::getFileOrSTDIN(ArchiveFilename, -1, false);
if (auto Err = ErrOrBuff.getError())
return Err;
OpenPOWER on IntegriCloud