<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 01/01/2013 12:02 PM, Akash Gulhane
wrote:<br>
</div>
<blockquote
cite="mid:CAKBbz2jQMagF8yQs9RFgMwKJZDc+oEL-F=qxakVLLVZJqAbJhA@mail.gmail.com"
type="cite">
<div dir="ltr"><span
style="color:rgb(0,0,0);font-family:Arial,'Liberation
Sans','DejaVu
Sans',sans-serif;font-size:14px;line-height:18px">I'm working
though </span><a moz-do-not-send="true"
href="http://llvm.org/docs/WritingAnLLVMPass.html"
rel="nofollow"
style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;color:rgb(74,107,130);text-decoration:initial;font-family:Arial,'Liberation
Sans','DejaVu Sans',sans-serif;line-height:18px">http://llvm.org/docs/WritingAnLLVMPass.html</a><span
style="color:rgb(0,0,0);font-family:Arial,'Liberation
Sans','DejaVu
Sans',sans-serif;font-size:14px;line-height:18px">, trying to
write a very simple pass. I have followed all the steps
mentioned in this document.But as mentioned I'm not getting
any file named Hello.so in Debug+Asserts/lib folder(There is a
file named LLVMHello.so only). I have also tried to modify
Hello.cpp in lib/Transforms/Hello but these changes doesn't
reflect anywhere. So how should i write my own pass and also
tell me where to put that file??</span><br>
</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>
Yes, the LLVMHello.so is the file you want.<br>
You can follow the document to run the opt and load the
LLVMHello.so, then you can run the hello pass.<br>
If you want an own pass, you can follow the doc:<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a
href="http://llvm.org/docs/CMake.html#developing-llvm-pass-out-of-source">http://llvm.org/docs/CMake.html#developing-llvm-pass-out-of-source</a><br>
<br>
<pre class="moz-signature" cols="72">--
Ning-ning Shi(Shining)
Changchun,China
Home page:shiningning.tk</pre>
</body>
</html>