[LLVMdev] Not able to run pass

Prashanth Sharma cs13m1017 at iith.ac.in
Thu Jun 12 23:09:59 PDT 2014


Hi,
Thank you very much to all.


On Wed, Jun 11, 2014 at 7:40 PM, Dan Liew <dan at su-root.co.uk> wrote:

> > your answer put me in starting situation.As I told I am not able to
> generate
> > .bc file of hello.cpp(the pass file) as it is giving errors when I use
> clang
> > -emit-llvm -c hello.cpp -o hello.bc.So please if you can help me.
>
> I recently wrote a small (and rather incomplete) tutorial on LLVM
> passes and provided the source code [1]. If you look in the
> ``helloPass`` folder you will see I've taken the helloPass from LLVM
> and have built it as an out of tree plug-in. The ``run.sh`` script
> (this is generated by the build system) shows how to use it. This
> might help you gain understanding of how you can use the hello pass.
> However I provide no guarantees that this code will work for you and I
> provide absolutely no support so do not ask me questions on how to
> build this code (it is already documented in README.md).
>
>
> [1] https://github.com/delcypher/srg-llvm-pass-tutorial
>
> --
> Dan Liew
> PhD Student - Imperial College London
>



-- 
Thanks
Prashant Sharma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140613/4a4d82b2/attachment.html>


More information about the llvm-dev mailing list