[LLVMdev] Extracting Basic Blocks/CFG from LLVM/clang
ankur deshwal
a.s.deshwal at gmail.com
Wed Feb 20 08:58:37 PST 2013
Hi Ashish,
I guess it will easier to answer the question if you provide some more
details about what exactly you want to achieve. You can write an LLVM pass
to visit all basic blocks and dump them to a file ( if thats what you want)
- See [1].
[1]. http://llvm.org/docs/WritingAnLLVMPass.html
On Wed, Feb 20, 2013 at 7:26 PM, Ashish Kulkarni <
ashish-kulkarni at hotmail.com> wrote:
> Hi LLVM developers,
>
> I've been beginning to work with LLVM and I'm interested to know if
> there is a programmatic way to extract the control flow graph and/or basic
> blocks from LLVM/clang in order to do some analysis on them. Is there a way
> to get that ?
>
> thank you in advance.
>
>
> Regards,
>
> Kulkarni Ashish A.
> College of Engineering, Pune
> India.
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130220/64deeb77/attachment.html>
More information about the llvm-dev
mailing list