[llvm] [BOLT] Fix heatmaps on large BOLTEd binaries. (PR #92815)
Maksim Panchenko via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 14 00:15:06 PDT 2024
================
@@ -2067,7 +2064,21 @@ std::error_code DataAggregator::parseMMapEvents() {
}
}
- BinaryMMapInfo.insert(std::make_pair(MMapInfo.PID, MMapInfo));
+ // In some larger binaries, the loaded binary gets a a second text segment
----------------
maksfb wrote:
Essentially, instead of storing the mapping for the first segment, you suggest to store the base address and the last address calculated as `BaseAddress + Size`, right? We will need to update the description of `MMapInfo` structure accordingly.
https://github.com/llvm/llvm-project/pull/92815
More information about the llvm-commits
mailing list