[PATCH] D96219: [CodeGen] Remove trailing dot of name of text section with prefix

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 8 19:37:29 PST 2021


MaskRay added a comment.

In D96219#2550219 <https://reviews.llvm.org/D96219#2550219>, @TaoPan wrote:

> Thank MaskRay for the review comment!
> I don’t understand the intention of the last dot of “.text.hot.”, it’s “.text.${text-section-prefix}.”.
> The example of function name exit with –ffunction-sections doesn’t include text-section-prefix, it’s “.text.${function-name}”.

Assuming normal function names don't end with `.`, their -ffunction-section section names can be distinguished from `.text.${text-section-prefix}.`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96219/new/

https://reviews.llvm.org/D96219



More information about the llvm-commits mailing list