We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e1ef44 commit 0bc316aCopy full SHA for 0bc316a
bolt/lib/Profile/Heatmap.cpp
@@ -81,7 +81,7 @@ void Heatmap::print(raw_ostream &OS) const {
81
// the Address.
82
auto startLine = [&](uint64_t Address, bool Empty = false) {
83
changeColor(DefaultColor);
84
- const uint64_t LineAddress = alignTo(Address, BytesPerLine);
+ const uint64_t LineAddress = Address / BytesPerLine * BytesPerLine;
85
86
if (MaxAddress > 0xffffffff)
87
OS << format("0x%016" PRIx64 ": ", LineAddress);
0 commit comments