File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -2279,7 +2279,7 @@ class OutOfProcessThinBackend : public CGThinBackend {
2279
2279
};
2280
2280
2281
2281
assert (ModuleToDefinedGVSummaries.count (ModulePath));
2282
-
2282
+
2283
2283
// The BackendThreadPool is only used here to write the sharded index files
2284
2284
// (similar to WriteIndexesThinBackend).
2285
2285
BackendThreadPool.async (
@@ -2472,7 +2472,8 @@ class OutOfProcessThinBackend : public CGThinBackend {
2472
2472
// Load the native object from a file into a memory buffer
2473
2473
// and store its contents in the output buffer.
2474
2474
auto ObjFileMbOrErr =
2475
- MemoryBuffer::getFile (Job.NativeObjectPath , false , false );
2475
+ MemoryBuffer::getFile (Job.NativeObjectPath , /* IsText=*/ false ,
2476
+ /* RequiresNullTerminator=*/ false );
2476
2477
if (std::error_code ec = ObjFileMbOrErr.getError ())
2477
2478
return make_error<StringError>(
2478
2479
BCError + " cannot open native object file: " +
You can’t perform that action at this time.
0 commit comments