This is an archive of the discontinued LLVM Phabricator instance.

[lnt][profile] Add support for X86-64 CFG view
ClosedPublic

Authored by eladcohen on May 25 2017, 5:09 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

eladcohen created this revision.May 25 2017, 5:09 AM
eladcohen updated this revision to Diff 100227.May 25 2017, 5:18 AM
kristof.beyls accepted this revision.May 25 2017, 5:45 AM

LGTM, modulo considering a call instruction to be ending a basic block.
I don't know enough details about the X86_64 instruction set to judge whether the regular expressions are fully correct, but they look plausible to me.

lnt/server/ui/static/lnt_profile.js
116–117 ↗(On Diff #100227)

A function call should not be considered as ending a basic block. We also don't do that for the other targets supported here (AArch64 and AArch32).

This revision is now accepted and ready to land.May 25 2017, 5:45 AM
eladcohen updated this revision to Diff 100233.May 25 2017, 6:00 AM
eladcohen marked an inline comment as done.

Fixed Kristof's comment - Thanks!

This revision was automatically updated to reflect the committed changes.

Thanks for the review!
Committed in r303853