[cfe-dev] Extracting llvm IR CFG from Clang
xiaohui chen via cfe-dev
cfe-dev at lists.llvm.org
Mon Feb 15 17:57:35 PST 2016
Dear All:
I am working on Clang/LLVM and interested to know if there is a
programmatic way to extract the CFG of a specific
node in AST like a for loop?
I am aware of -emit-llvmoption, but it will apply on the whole TU.
For example,
we could use CFG::buildCFG to extract the source level CFG of a specific
node.
Is there a counterpart API to extract the LLVM IR level CFG of a specific
node?
Sincerely
xiaohui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160215/b8e6e6fc/attachment.html>
More information about the cfe-dev
mailing list