[clang] [llvm] [CGData][ThinLTO] Global Outlining with Two-CodeGen Rounds (PR #90933)

Kyungwoo Lee via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 18 07:10:23 PDT 2024


================
@@ -164,6 +164,22 @@ publishOutlinedHashTree(std::unique_ptr<OutlinedHashTree> HashTree) {
   CodeGenData::getInstance().publishOutlinedHashTree(std::move(HashTree));
 }
 
+/// Initialize the two-codegen rounds.
+void initializeTwoCodegenRounds();
+
+/// Save the current module before the first codegen round.
+void saveModuleForTwoRounds(const Module &TheModule, unsigned Task);
----------------
kyulee-com wrote:

> What is `Task`? Some way to disambiguate modules?

Added a comment to the function.

https://github.com/llvm/llvm-project/pull/90933


More information about the cfe-commits mailing list