[LLVMdev] Why llvm-pass don't work when applied on itself(passfile)
John Criswell
criswell at illinois.edu
Sun Jun 15 09:57:20 PDT 2014
On 6/14/14, 6:02 AM, Prashanth Sharma wrote:
> Hi,
> I applied some pass i.e. Hello pass on Hello.cpp(the pass file).It
> doesnot work as using command clang -emit-llvm -c Hello.c(Hell.cpp)
> does not create any .bc file .Can any body have some suggestion ?
Is the problem that you can't create a bitcode file or that you can't
get clang to run your pass?
Assuming you can't generate a bitcode file, clang -emit-llvm -c <file.c>
should create a file ending with .o that is an LLVM bitcode file. It
will not have a .bc suffix.
Regards,
John Criswell
>
> --
> Thanks
> Prashant Sharma
>
>
> _______________________________________________
> 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/20140615/d46b4f04/attachment.html>
More information about the llvm-dev
mailing list