aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/BasicBlockSections.cpp
diff options
context:
space:
mode:
authorRahman Lavaee <rahmanl@google.com>2022-02-24 12:29:08 -0800
committerRahman Lavaee <rahmanl@google.com>2022-02-24 13:31:15 -0800
commitaeec9671fb4cb0b3b221f0954a81f0cdb4b4764c (patch)
treece3d1a34c4e8e40bc5191ede5b13eff1e83577f1 /llvm/lib/CodeGen/BasicBlockSections.cpp
parentda11f17e90a86525b8902f0812180799f8d8fca9 (diff)
downloadllvm-aeec9671fb4cb0b3b221f0954a81f0cdb4b4764c.zip
llvm-aeec9671fb4cb0b3b221f0954a81f0cdb4b4764c.tar.gz
llvm-aeec9671fb4cb0b3b221f0954a81f0cdb4b4764c.tar.bz2
Revert "Encode address offsets of basic blocks relative to the end of the previous basic blocks."
This reverts commit 029283c1c0d8d06fbf000f5682c56b8595a1101f. The code in `ELFFile::decodeBBAddrMap` was not changed in the submitted patch. Differential Revision: https://reviews.llvm.org/D120457
Diffstat (limited to 'llvm/lib/CodeGen/BasicBlockSections.cpp')
-rw-r--r--llvm/lib/CodeGen/BasicBlockSections.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/BasicBlockSections.cpp b/llvm/lib/CodeGen/BasicBlockSections.cpp
index 29478b5..c1901bc 100644
--- a/llvm/lib/CodeGen/BasicBlockSections.cpp
+++ b/llvm/lib/CodeGen/BasicBlockSections.cpp
@@ -60,7 +60,7 @@
// Basic Block Labels
// ==================
//
-// With -fbasic-block-sections=labels, we encode the offsets of BB addresses of
+// With -fbasic-block-sections=labels, we emit the offsets of BB addresses of
// every function into the .llvm_bb_addr_map section. Along with the function
// symbols, this allows for mapping of virtual addresses in PMU profiles back to
// the corresponding basic blocks. This logic is implemented in AsmPrinter. This