[all-commits] [llvm/llvm-project] 070555: [lld] Make -z keep-text-section-prefix recognize ....

Snehasish Kumar via All-commits all-commits at lists.llvm.org
Thu Sep 24 15:06:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 070555c6c008c57c408c1e99025b12c5d71c9848
      https://github.com/llvm/llvm-project/commit/070555c6c008c57c408c1e99025b12c5d71c9848
  Author: Snehasish Kumar <snehasishk at google.com>
  Date:   2020-09-24 (Thu, 24 Sep 2020)

  Changed paths:
    M lld/ELF/Writer.cpp
    M lld/test/ELF/text-section-prefix.s

  Log Message:
  -----------
  [lld] Make -z keep-text-section-prefix recognize .text.split. as a prefix.

".text.split." holds symbols which are split out from functions in
other input sections. For example, with -fsplit-machine-functions,
placing the cold parts in .text.split instead of .text.unlikely mitigates
against poor profile inaccuracy. Techniques such as hugepage remapping can
make conservative decisions at the section granularity.

Differential Revision: https://reviews.llvm.org/D87840




More information about the All-commits mailing list