Skip to content

Commit f15f5b4

Browse files
committed
test turning off NullTermination
1 parent dbbdd2c commit f15f5b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/Support/MemoryBuffer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ class LLVM_ABI MemoryBuffer {
150150
/// is "-".
151151
static ErrorOr<std::unique_ptr<MemoryBuffer>>
152152
getFileOrSTDIN(const Twine &Filename, bool IsText = false,
153-
bool RequiresNullTerminator = true,
153+
bool RequiresNullTerminator = false,
154154
std::optional<Align> Alignment = std::nullopt);
155155

156156
/// Map a subrange of the specified file as a MemoryBuffer.

0 commit comments

Comments
 (0)