[llvm] [AsmPrinter][ELF] Support profile-guided section prefix for jump tables' (read-only) data sections (PR #122215)
Mingming Liu via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 28 16:04:06 PST 2025
================
@@ -967,17 +978,23 @@ MCSection *TargetLoweringObjectFileELF::getUniqueSectionForFunction(
MCSection *TargetLoweringObjectFileELF::getSectionForJumpTable(
const Function &F, const TargetMachine &TM) const {
+ return getSectionForJumpTable(F, TM, nullptr);
----------------
mingmingl-llvm wrote:
done, and did the same for `nullptr` in TargetLoweringObjectFile.cpp at line 351.
https://github.com/llvm/llvm-project/pull/122215
More information about the llvm-commits
mailing list