[SystemZ] Use zeroing form of RISBG for some AND sequences
[oota-llvm.git] / tools / llvm-objdump / MachODump.cpp
index 27e1623d4510c39455cf0c113dd1f4a234f745ae..e0ec9cc172bc3de9212a79c0dfec725e43c7b7b5 100644 (file)
@@ -295,7 +295,7 @@ static void DisassembleInputMachO2(StringRef Filename,
     // get the sections and supply it to the section name parsing machinery.
     if (!DSYMFile.empty()) {
       OwningPtr<MemoryBuffer> Buf;
-      if (error_code ec = MemoryBuffer::getFileOrSTDIN(DSYMFile.c_str(), Buf)) {
+      if (error_code ec = MemoryBuffer::getFileOrSTDIN(DSYMFile, Buf)) {
         errs() << "llvm-objdump: " << Filename << ": " << ec.message() << '\n';
         return;
       }