[clang] [Coverage] Introduce the type `CounterPair` for RegionCounterMap. NFC. (PR #112724)
NAKAMURA Takumi via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 19 01:24:26 PST 2024
================
@@ -362,6 +362,8 @@ CodeGenFunction::AddInitializerToStaticVarDecl(const VarDecl &D,
return GV;
}
+ PGO.markStmtMaybeUsed(D.getInit()); // FIXME: Too lazy
----------------
chapuni wrote:
It marks entire the initializer as "don't check further". Just for checks and will not affect actual code generation.
I'll sink it to other places when we will get issues.
https://github.com/llvm/llvm-project/pull/112724
More information about the cfe-commits
mailing list