[all-commits] [llvm/llvm-project] 0cc063: Use .text.unlikely and .text.eh prefixes for Machi...
Snehasish Kumar via All-commits
all-commits at lists.llvm.org
Fri Apr 24 15:08:34 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 0cc063a8ffc896aa82ebe4b11003f0bbd78d6d5b
https://github.com/llvm/llvm-project/commit/0cc063a8ffc896aa82ebe4b11003f0bbd78d6d5b
Author: Snehasish Kumar <snehasishk at google.com>
Date: 2020-04-24 (Fri, 24 Apr 2020)
Changed paths:
M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
M llvm/test/CodeGen/X86/basicblock-sections-clusters-branches.ll
M llvm/test/CodeGen/X86/basicblock-sections-clusters-eh.ll
M llvm/test/CodeGen/X86/basicblock-sections-clusters.ll
M llvm/test/CodeGen/X86/basicblock-sections-cold.ll
Log Message:
-----------
Use .text.unlikely and .text.eh prefixes for MachineBasicBlock sections.
Summary:
Instead of adding a ".unlikely" or ".eh" suffix for machine basic blocks,
this change updates the behaviour to use an appropriate prefix
instead. This allows lld to group basic block sections together
when -z,keep-text-section-prefix is specified and matches the behaviour
observed in gcc.
Reviewers: tmsriram, mtrofin, efriedma
Reviewed By: tmsriram, efriedma
Subscribers: eli.friedman, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D78742
More information about the All-commits
mailing list