[llvm] [AsmPrinter][ELF] Support profile-guided section prefix for jump tables' (read-only) data sections (PR #122215)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 28 14:00:59 PST 2025


================
@@ -967,17 +978,23 @@ MCSection *TargetLoweringObjectFileELF::getUniqueSectionForFunction(
 
 MCSection *TargetLoweringObjectFileELF::getSectionForJumpTable(
     const Function &F, const TargetMachine &TM) const {
+  return getSectionForJumpTable(F, TM, nullptr);
----------------
snehasish wrote:

nit: document the param name for nullptr like you have elsewhere.

https://github.com/llvm/llvm-project/pull/122215


More information about the llvm-commits mailing list