Skip to content

Commit 6ba0657

Browse files
committed
Fixed relative address in LNT profile control-flow graph.
It seems the relative address in AArch64 disassembly is dec, not hex.
1 parent 6a3f7bb commit 6ba0657

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lnt/server/ui/static/lnt_profile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ CFG.prototype = {
138138
// If the address starts with '#' it is a relative one
139139
// and should be processed differently
140140
if (addressString.startsWith('#'))
141-
return addressCurrent + parseInt(addressString.substring(1), 16);
141+
return addressCurrent + parseInt(addressString.substring(1), 10);
142142
else
143143
return parseInt(addressString, 16);
144144
},

0 commit comments

Comments
 (0)