<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 6/14/14, 6:02 AM, Prashanth Sharma
wrote:<br>
</div>
<blockquote
cite="mid:CAJ+w9q4at+Cq3km4DGKK-62XMSWgkg7t4KTy-DqRNTXGFCasog@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr">Hi,
<div>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 ?<br clear="all">
</div>
</div>
</blockquote>
<br>
Is the problem that you can't create a bitcode file or that you
can't get clang to run your pass?<br>
<br>
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.<br>
<br>
Regards,<br>
<br>
John Criswell<br>
<br>
<br>
<blockquote
cite="mid:CAJ+w9q4at+Cq3km4DGKK-62XMSWgkg7t4KTy-DqRNTXGFCasog@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div><br>
</div>
-- <br>
<div dir="ltr">
<div><font face="arial,helvetica,sans-serif">Thanks <br>
</font></div>
<font face="arial,helvetica,sans-serif">Prashant Sharma<br>
</font></div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a class="moz-txt-link-freetext" href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
</pre>
</blockquote>
<br>
</body>
</html>