Skip to content

Commit 6f353d9

Browse files
committed
document constant args
1 parent 8b27ef4 commit 6f353d9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/lib/LTO/LTO.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2279,7 +2279,7 @@ class OutOfProcessThinBackend : public CGThinBackend {
22792279
};
22802280

22812281
assert(ModuleToDefinedGVSummaries.count(ModulePath));
2282-
2282+
22832283
// The BackendThreadPool is only used here to write the sharded index files
22842284
// (similar to WriteIndexesThinBackend).
22852285
BackendThreadPool.async(
@@ -2472,7 +2472,8 @@ class OutOfProcessThinBackend : public CGThinBackend {
24722472
// Load the native object from a file into a memory buffer
24732473
// and store its contents in the output buffer.
24742474
auto ObjFileMbOrErr =
2475-
MemoryBuffer::getFile(Job.NativeObjectPath, false, false);
2475+
MemoryBuffer::getFile(Job.NativeObjectPath, /*IsText=*/false,
2476+
/*RequiresNullTerminator=*/false);
24762477
if (std::error_code ec = ObjFileMbOrErr.getError())
24772478
return make_error<StringError>(
24782479
BCError + "cannot open native object file: " +

0 commit comments

Comments
 (0)