[all-commits] [llvm/llvm-project] c43d04: [BOLT] Create .text.warm for 3-way splitting (#73863)

ShatianWang via All-commits all-commits at lists.llvm.org
Wed Nov 29 19:42:50 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c43d0432ef35ee506bae642408f7140064514c8d
      https://github.com/llvm/llvm-project/commit/c43d0432ef35ee506bae642408f7140064514c8d
  Author: ShatianWang <38512325+ShatianWang at users.noreply.github.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M bolt/include/bolt/Core/BinaryContext.h
    M bolt/include/bolt/Core/BinaryFunction.h
    M bolt/include/bolt/Core/FunctionLayout.h
    M bolt/lib/Core/BinaryEmitter.cpp
    M bolt/lib/Passes/SplitFunctions.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp

  Log Message:
  -----------
  [BOLT] Create .text.warm for 3-way splitting (#73863)

This commit explicitly adds a warm code section, .text.warm, when
-split-functions -split-strategy=cdsplit is used. This replaces the
previous approach of using .text.cold.0 as warm and .text.cold.1 as cold
in 3-way function splitting. NFC.




More information about the All-commits mailing list