Skip to content

Commit 33dc42c

Browse files
committed
Add a clarifying comment that a datastructure is filled in by emitFiles.
1 parent 672ff5d commit 33dc42c

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

llvm/lib/LTO/LTO.cpp

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2270,11 +2270,13 @@ class OutOfProcessThinBackend : public CGThinBackend {
22702270
itostr(Task) + "." + UID + ".native.o");
22712271

22722272
Job &J = Jobs[Task - ThinLTOTaskOffset];
2273-
J = {Task,
2274-
ModulePath,
2275-
Saver.save(ObjFilePath.str()),
2276-
Saver.save(ObjFilePath.str() + ".thinlto.bc"),
2277-
{}};
2273+
J = {
2274+
Task,
2275+
ModulePath,
2276+
Saver.save(ObjFilePath.str()),
2277+
Saver.save(ObjFilePath.str() + ".thinlto.bc"),
2278+
{} // Filled in by emitFiles below.
2279+
};
22782280

22792281
assert(ModuleToDefinedGVSummaries.count(ModulePath));
22802282
BackendThreadPool.async(

0 commit comments

Comments
 (0)