<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Dear Nikhil,<br>
<br>
I currently have a student (Peter Finn) working on updating
SAFECode to work with LLVM mainline (i.e., what will become LLVM
3.7). However, he is very new to LLVM, so his progress is,
naturally, not as fast as an experienced LLVM developer.<br>
<br>
If you would like to help Peter, you can contact him and
coordinate effort. In order to help, you will need to learn how
to use the LLVM C++ API. This will require understanding how to
write an LLVM pass, understanding basic classes such as Module,
Function, BasicBlock, and Instruction, and the LLVM programming
primitives (isa<>, dyn_cast<>, etc.).<br>
<br>
The documentation you need to read is:<br>
<br>
LLVM Programmer's Manual<br>
Writing an LLVM Pass<br>
The LLVM Doxygen pages (as needed to find useful classes and
methods)<br>
<br>
If you update the SAFECode passes to compile with LLVM mainline,
you can probably hack the LLVM classes that schedule passes for
Clang to run the SAFECode passes unconditionally and then hack the
Clang Makefiles to link in the SAFECode libraries (reintegrating
SAFECode into Clang will take too much of your time).<br>
<br>
To be direct with you, if you are not an experienced LLVM
developer, then I am skeptical that you can get SAFECode working
*and* finish your Master's thesis on time.<br>
<br>
An alternative is to use LLVM 3.2 with the release_32 branch of
SAFECode. If LLVM 3.2 won't compile on your machine, you can set
up a virtual machine (using VirtualBox, VMWare, Xen, etc.) running
an older version of Linux/BSD capable of compiling the older
code. FreeBSD 9.0 (and probably 9.3) should be able to compile
SAFECode for LLVM 3.2, for example.<br>
<br>
Regards,<br>
<br>
John Criswell<br>
<br>
<br>
On 6/24/15 4:41 AM, Nikhil Reddy Kothapally wrote:<br>
</div>
<blockquote
cite="mid:CA+=LHJYAgH8et8Y_gts74mSmvykbN753K2u8cZjoJ1CfybEUcw@mail.gmail.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Dear Sir,</div>
<div> I need a small help regarding the LLVM C API
i want to make the Safecode to compile in the latest clang
version, can you please make out your time to give me the
procedure for updating this. Since i don´t have any docs
regarding this so please give me the doc to make that happen
since it is my master thesis i have left with 5 weeks of time
please help me out for this document.</div>
<div><br>
</div>
<div>
<div>Thank you </div>
<div><br>
</div>
<div>Kind Regards </div>
<div><br>
</div>
<div>Nikhil Reddy Kothapally</div>
<div>Masterarbiet </div>
</div>
<div>Technische Universität Chemnitz.Germany<br>
</div>
<div>Computer Science (Automotive Software Engineering)</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>
<br>
<pre class="moz-signature" cols="72">--
John Criswell
Assistant Professor
Department of Computer Science, University of Rochester
<a class="moz-txt-link-freetext" href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.cs.rochester.edu_u_criswell&d=AwMD-g&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Mfk2qtn1LTDThVkh6-oGglNfMADXfJdty4_bhmuhMHA&m=VGZiMxuv98LXE7F4LR21wPMOvZZ7m5v6Lblb_wsRxck&s=H1H8uUq0ZlYX58eH59iZtBrTuagC_akypST-BFxlyjo&e=">http://www.cs.rochester.edu/u/criswell</a></pre>
</body>
</html>