aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorSnehasish Kumar <snehasishk@google.com>2020-10-07 11:42:02 -0700
committerSnehasish Kumar <snehasishk@google.com>2020-10-14 12:16:36 -0700
commit77638a5343d5b4c1a87ec2b7fb3671ccb108a059 (patch)
tree4509f8a1292d7afd1154fe25a187ff303ab61498 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentadfb5415010fbbc009a4a6298cfda7a6ed4fa6d4 (diff)
downloadllvm-77638a5343d5b4c1a87ec2b7fb3671ccb108a059.zip
llvm-77638a5343d5b4c1a87ec2b7fb3671ccb108a059.tar.gz
llvm-77638a5343d5b4c1a87ec2b7fb3671ccb108a059.tar.bz2
[llvm] Set the default for -bbsections-cold-text-prefix to .text.split.
After using this for a while, we find that it is generally useful to have it set to .text.split. by default, removing the need for an additional -mllvm option. Differential Revision: https://reviews.llvm.org/D88997
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
index 92ffbec..de00716 100644
--- a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+++ b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
@@ -867,7 +867,7 @@ MCSection *TargetLoweringObjectFileELF::getSectionForMachineBasicBlock(
assert(MBB.isBeginSection() && "Basic block does not start a section!");
unsigned UniqueID = MCContext::GenericSectionID;
- // For cold sections use the .text.unlikely prefix along with the parent
+ // For cold sections use the .text.split. prefix along with the parent
// function name. All cold blocks for the same function go to the same
// section. Similarly all exception blocks are grouped by symbol name
// under the .text.eh prefix. For regular sections, we either use a unique