[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
Sun Feb 7 18:43:06 PST 2021


MaskRay requested changes to this revision.
MaskRay added a comment.
This revision now requires changes to proceed.

In D96219#2547649 <https://reviews.llvm.org/D96219#2547649>, @pengfei wrote:

> It seems the last dot in `.text.hot.` was added intentionally. Add @MaskRay to have a look.

`.text.hot.` and `.text.exit` etc are intentional, otherwise with -ffunction-sections, a function named `exit` (in `.text.exit`) will be shuffled to a different place


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