HomePhabricator
Diffusion LNT 953e0f220fed

Fixed relative address in LNT profile control-flow graph.

Authored by kpdev42 on Sep 11 2021, 11:20 AM.

Description

Fixed relative address in LNT profile control-flow graph.

It seems the relative address in AArch64 disassembly is dec, not hex.

Reviewed By: tnfchris

Differential Revision: https://reviews.llvm.org/D110141

Details

Event Timeline

slydiman added inline comments.
/lnt/server/ui/static/lnt_profile.js
142

I don't think this patch is safe.
Are you sure all disassemblers generate the absolute hex address with 0x prefix?
It seems such implementation requires a lot of tests for different disassemblers.