[PATCH] D32097: Remove getInstrProf*SectionName helpers as an API cleanup, NFC.

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 14 16:33:45 PDT 2017


vsk marked an inline comment as done.
vsk added inline comments.


================
Comment at: lib/Transforms/Instrumentation/InstrProfiling.cpp:144
 /// Get the section name for the counter variables.
 std::string InstrProfiling::getCountersSection() const {
+  return getInstrProfSectionName(IPSK_cnts, TT.getObjectFormat());
----------------
davidxl wrote:
> Is there a need to keep these wrappers? Seems good to remove too.
Good point, no need for these either. They are all used once, except one which is dead.


https://reviews.llvm.org/D32097





More information about the llvm-commits mailing list