[PATCH] D131043: [InstrProf] Set prof global variables to internal linkage if adding a comdat
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 2 21:21:14 PDT 2022
aeubanks added inline comments.
================
Comment at: llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp:1031
auto *Data =
new GlobalVariable(*M, DataTy, false, Linkage, nullptr, DataVarName);
// Reference the counter variable with a label difference (link-time
----------------
linkage is already set here
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131043/new/
https://reviews.llvm.org/D131043
More information about the llvm-commits
mailing list