[PATCH] D136698: [SampleFDO] Persist profile staleness metrics into binary
Wenlei He via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 26 10:56:20 PDT 2022
wenlei added a comment.
This can be dealt with later but do we need separate support (i.e. MCAsmStreamer?) for llvm-objdump to print out stats nicely?
================
Comment at: llvm/lib/MC/MCObjectFileInfo.cpp:534
Ctx->getELFSection(".pseudo_probe_desc", DebugSecType, 0);
+ LLVMStatsSection = Ctx->getELFSection(".llvm_stats", DebugSecType, 0);
}
----------------
Use explicit section type `ELF::SHT_PROGBITS` instead of `DebugSecType`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136698/new/
https://reviews.llvm.org/D136698
More information about the llvm-commits
mailing list