[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:04 PST 2025


https://github.com/mingmingl-llvm commented:

The updated PR also generates `.rodata.<suffix>.` (with a trailing dot after `<suffix>`) when `-ffunction-sections` is false, for consistency with existing code (which sets `HasPrefix` for linker's disambiguation between `.text.<section-prefix>.` and `.text.<function>`).

PTAL, thanks!


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


More information about the llvm-commits mailing list