[clang] [llvm] [PowerPC][AIX] Support #pragma comment copyright for AIX (PR #178184)
Wael Yehia via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 8 08:10:36 PDT 2026
================
@@ -1750,6 +1751,13 @@ PassBuilder::buildModuleOptimizationPipeline(OptimizationLevel Level,
InlineContext{ThinOrFullLTOPhase::None, InlinePass::CGSCCInliner}));
}
}
+
+ // Lower !comment_string.loadtime metadata to a concrete TU-local string
+ // global and attach !implicit.ref to all defined functions. Running late
+ // ensures compiler-generated functions (e.g. from inlining, coroutines)
+ // are also anchored to the copyright string via .ref directives.
----------------
w2yehia wrote:
this makes it sound like functions are dependent on the string; it's the other way around.
Maybe say something along "compiler-generated functions also references the copyright string"
https://github.com/llvm/llvm-project/pull/178184
More information about the cfe-commits
mailing list