[llvm-dev] CFG with x86 basic blocks
Olivia Weng via llvm-dev
llvm-dev at lists.llvm.org
Tue Jul 27 15:17:32 PDT 2021
Hello,
Is there a way to use LLVM and clang++ to generate a Control Flow Graph
with x86 basic blocks?
I am able to generate control flow graphs using clang++ and LLVM's opt, but
the CFG's basic blocks contain LLVM IR. Instead, I would like the basic
blocks to contain x86 assembly.
Ideally this tool would be useful for visualizing optimization passes that
a compiler makes to the code and ultimately the assembly.
Thanks!
Olivia
--
Olivia Weng
PhD Student
Computer Science and Engineering
University of California, San Diego
https://oliviaweng.com <https://www.oliviaweng.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210727/1ef13544/attachment.html>
More information about the llvm-dev
mailing list