[llvm] [SHT_LLVM_BB_ADDR_MAP][AsmPrinter] Implements PGOAnalysisMap emitting in AsmPrinter with tests. (PR #75202)
Rahman Lavaee via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 15 05:41:02 PST 2023
================
@@ -1932,8 +2000,15 @@ void AsmPrinter::emitFunctionBody() {
// Emit section containing BB address offsets and their metadata, when
// BB labels are requested for this function. Skip empty functions.
- if (MF->hasBBLabels() && HasAnyRealCode)
+ bool HasLabels = MF->hasBBLabels();
----------------
rlavaee wrote:
`HasBBLabels` to distinguish with other kinds of labels.
https://github.com/llvm/llvm-project/pull/75202
More information about the llvm-commits
mailing list