[PATCH] D12248: Put profile variables of COMDAT functions to it's own COMDAT group
David Li via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 21 16:13:26 PDT 2015
davidxl added a subscriber: davidxl.
================
Comment at: InstrProfiling.cpp:206
@@ -203,1 +205,3 @@
+ if (Fn->hasComdat())
+ ProfileVarsComdat = M->getOrInsertComdat(StringRef(getVarName(Inc, "var")));
Name->setSection(getNameSection());
----------------
How about "var" --> "vars" to indicate the comdat section includes _counters, _data, _name ?
http://reviews.llvm.org/D12248
More information about the llvm-commits
mailing list