[llvm-pdbdump] Provide a mechanism to dump the raw contents of a PDB
[oota-llvm.git] / include / llvm / Support / MemoryBuffer.h
index 81616d8ba3acf15a4f8acbed57eee7181c3e4daa..4aeca0c5b6412bcec6442c2cc75b62e1ec6cbf1e 100644 (file)
@@ -122,7 +122,8 @@ public:
   /// Open the specified file as a MemoryBuffer, or open stdin if the Filename
   /// is "-".
   static ErrorOr<std::unique_ptr<MemoryBuffer>>
-  getFileOrSTDIN(const Twine &Filename, int64_t FileSize = -1);
+  getFileOrSTDIN(const Twine &Filename, int64_t FileSize = -1,
+                 bool RequiresNullTerminator = true);
 
   /// Map a subrange of the specified file as a MemoryBuffer.
   static ErrorOr<std::unique_ptr<MemoryBuffer>>