[clang] [compiler-rt] [llvm] [PGO] Initialize GOV Writeout and Reset Functions in the Runtime on AIX (PR #108570)
Hubert Tong via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 1 19:57:54 PDT 2024
================
@@ -914,6 +918,7 @@ bool GCOVProfiler::emitProfileNotes(
GlobalVariable *Counters = new GlobalVariable(
*M, CounterTy, false, GlobalValue::InternalLinkage,
Constant::getNullValue(CounterTy), "__llvm_gcov_ctr");
+ Counters->setSection("__llvm_gcov_ctr_section");
----------------
hubert-reinterpretcast wrote:
This is not coded as an AIX-only change. Please confirm if the code matches the intent.
https://github.com/llvm/llvm-project/pull/108570
More information about the cfe-commits
mailing list