<div dir="ltr">Hello ,<div> i have tried to solve but after removing the <span style="font-size:12.8000001907349px">lib/PoolAllocate code doesn't compile with LLVM mainline, and you don't need it for SAFECode. You can remove PoolAllocate from the list of directories to compile in poolalloc/lib/Makefile. also am not able to compile this in Windows if possible can you please give me reply in Google group <a href="https://groups.google.com/forum/#!forum/llvm-memorysafetycompiler">https://groups.google.com/forum/#!forum/llvm-memorysafetycompiler</a> </span></div><div><br></div><div><br></div><div><br><div> <span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">//===------------ TypeChecks.cpp - Insert runtime type checks -------------===//</span><div style="margin:0px;padding:0px;border:0px;font-family:Arial,Helvetica,sans-serif;font-size:13px">//</div><div style="margin:0px;padding:0px;border:0px;font-family:Arial,Helvetica,sans-serif;font-size:13px">// The LLVM Compiler Infrastructure</div><div style="margin:0px;padding:0px;border:0px;font-family:Arial,Helvetica,sans-serif;font-size:13px">//</div><div style="margin:0px;padding:0px;border:0px;font-family:Arial,Helvetica,sans-serif;font-size:13px">// This file was developed by the LLVM research group and is distributed under</div><div style="margin:0px;padding:0px;border:0px;font-family:Arial,Helvetica,sans-serif;font-size:13px">// the University of Illinois Open Source License. See LICENSE.TXT for details.</div><div style="margin:0px;padding:0px;border:0px;font-family:Arial,Helvetica,sans-serif;font-size:13px">//</div><div style="margin:0px;padding:0px;border:0px;font-family:Arial,Helvetica,sans-serif;font-size:13px">//===----------------------------------------------------------------------===//</div><div style="margin:0px;padding:0px;border:0px;font-family:Arial,Helvetica,sans-serif;font-size:13px">//</div><div style="margin:0px;padding:0px;border:0px;font-family:Arial,Helvetica,sans-serif;font-size:13px">// This pass inserts checks to enforce type safety during runtime.</div><div style="margin:0px;padding:0px;border:0px;font-family:Arial,Helvetica,sans-serif;font-size:13px"><br></div><div style="margin:0px;padding:0px;border:0px;font-family:Arial,Helvetica,sans-serif;font-size:13px"><br></div><div style="margin:0px;padding:0px;border:0px;font-family:Arial,Helvetica,sans-serif;font-size:13px">the Class of this file is Cast constant so i need the child class of the file where i am not able to solve please help out for this.</div><div style="margin:0px;padding:0px;border:0px;font-family:Arial,Helvetica,sans-serif;font-size:13px"><br></div><div style="margin:0px;padding:0px;border:0px;font-family:Arial,Helvetica,sans-serif;font-size:13px"><a href="http://llvm.org/doxygen/annotated.html">http://llvm.org/doxygen/annotated.html</a><br></div><div style="margin:0px;padding:0px;border:0px;font-family:Arial,Helvetica,sans-serif;font-size:13px"><br></div><div style="margin:0px;padding:0px;border:0px;font-family:Arial,Helvetica,sans-serif;font-size:13px">since the documentation i think it should be for LLVM safecode 3.7 i dont know whether it has updated </div><div style="margin:0px;padding:0px;border:0px;font-family:Arial,Helvetica,sans-serif;font-size:13px"><br></div><div style="margin:0px;padding:0px;border:0px;font-family:Arial,Helvetica,sans-serif;font-size:13px"><br></div><div style="margin:0px;padding:0px;border:0px;font-family:Arial,Helvetica,sans-serif;font-size:13px">am not able to find the clear doc for this since am trying to solve the error which i have got </div><div style="margin:0px;padding:0px;border:0px;font-family:Arial,Helvetica,sans-serif;font-size:13px"><br></div><div style="margin:0px;padding:0px;border:0px;font-family:Arial,Helvetica,sans-serif;font-size:13px"><div style="margin:0px;padding:0px;border:0px;font-family:arial,sans-serif;font-size:12.8000001907349px"><div style="margin:0px;padding:0px;border:0px"><span style="background-color:rgb(255,255,0)">llvm[4]: Compiling PoolAllocate.cpp for Release+Asserts build</span></div><div style="margin:0px;padding:0px;border:0px"><span style="background-color:rgb(255,255,0)">/home/NIKHILREDDY/WORK/LLVM_SRC/projects/poolalloc/lib/PoolAllocate/PoolAllocate.cpp: In member function ‘virtual bool llvm::PoolAllocate::runOnModule(llvm::Module&)’:</span></div><div style="margin:0px;padding:0px;border:0px"><span style="background-color:rgb(255,255,0)">/home/NIKHILREDDY/WORK/LLVM_SRC/projects/poolalloc/lib/PoolAllocate/PoolAllocate.cpp:403:16: error: ‘class llvm::Constant’ has no member named ‘replaceUsesOfWithOnConstant’</span></div><div style="margin:0px;padding:0px;border:0px"><span style="background-color:rgb(255,255,0)"> C->replaceUsesOfWithOnConstant(F, CEnew, ReplaceWorklist[index]);</span></div><div style="margin:0px;padding:0px;border:0px"><span style="background-color:rgb(255,255,0)"> ^</span></div><div style="margin:0px;padding:0px;border:0px">llvm[4]: Compiling PoolOptimize.cpp for Release+Asserts build</div><div style="margin:0px;padding:0px;border:0px"><font color="#ff0000">llvm[4]: Compiling RunTimeAssociate.cpp for Release+Asserts build</font></div><div style="margin:0px;padding:0px;border:0px"><font color="#ff0000">/usr/bin/rm: cannot remove ‘/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc/lib/PoolAllocate/Release+Asserts/PoolAllocate.d.tmp’: No such file or directory</font></div><div style="margin:0px;padding:0px;border:0px"><font color="#ff0000">/home/NIKHILREDDY/WORK/LLVM_SRC/Makefile.rules:1521: recipe for target '/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc/lib/PoolAllocate/Release+Asserts/PoolAllocate.o' failed</font></div><div style="margin:0px;padding:0px;border:0px"><font color="#ff0000">make[4]: *** [/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc/lib/PoolAllocate/Release+Asserts/PoolAllocate.o] Error 1</font></div><div style="margin:0px;padding:0px;border:0px"><font color="#ff0000">make[4]: *** Waiting for unfinished jobs....</font></div><div style="margin:0px;padding:0px;border:0px"><font color="#ff0000">make[4]: Leaving directory '/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc/lib/PoolAllocate'</font></div><div style="margin:0px;padding:0px;border:0px"><font color="#ff0000">/home/NIKHILREDDY/WORK/LLVM_SRC/Makefile.rules:880: recipe for target 'all' failed</font></div><div style="margin:0px;padding:0px;border:0px"><font color="#ff0000">make[3]: *** [all] Error 1</font></div><div style="margin:0px;padding:0px;border:0px"><font color="#ff0000">make[3]: Leaving directory '/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc/lib'</font></div><div style="margin:0px;padding:0px;border:0px"><font color="#ff0000">/home/NIKHILREDDY/WORK/LLVM_SRC/Makefile.rules:880: recipe for target 'all' failed</font></div><div style="margin:0px;padding:0px;border:0px"><font color="#ff0000">make[2]: *** [all] Error 1</font></div><div style="margin:0px;padding:0px;border:0px"><font color="#ff0000">make[2]: Leaving directory '/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc'</font></div><div style="margin:0px;padding:0px;border:0px"><font color="#ff0000">/home/NIKHILREDDY/WORK/LLVM_SRC/Makefile.rules:880: recipe for target 'all' failed</font></div><div style="margin:0px;padding:0px;border:0px"><font color="#ff0000">make[1]: *** [all] Error 1</font></div><div style="margin:0px;padding:0px;border:0px"><font color="#ff0000">make[1]: Leaving directory '/home/NIKHILREDDY/WORK/LLVM_OBJ/projects'</font></div><div style="margin:0px;padding:0px;border:0px"><font color="#ff0000">/home/NIKHILREDDY/WORK/LLVM_SRC/Makefile.rules:965: recipe for target 'all' failed</font></div><div style="margin:0px;padding:0px;border:0px">make: *** [all] Error 1</div></div><div style="margin:0px;padding:0px;border:0px;font-family:arial,sans-serif;font-size:12.8000001907349px">NIKHILREDDY@NikhilReddyK ~/WORK/LLVM_OBJ<br></div></div><div style="margin:0px;padding:0px;border:0px;font-size:12.8000001907349px"><br></div><div><div class="gmail_signature"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8000001907349px">Thank You,</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Kind Regards,</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Nikhil Reddy Kothapally</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Master Student </div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Technische Universität Chemnitz,(Germany)</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Automotive Software Engineering.</div></div></div></div></div>
</div></div></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "LLVM = Clang+SAFECode+Softbound+CETS (New Compiler for Windows OS)" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:llvm-memorysafetycompiler+unsubscribe@googlegroups.com">llvm-memorysafetycompiler+unsubscribe@googlegroups.com</a>.<br />
Visit this group at <a href="http://groups.google.com/group/llvm-memorysafetycompiler">http://groups.google.com/group/llvm-memorysafetycompiler</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/llvm-memorysafetycompiler/CA%2B%3DLHJb-HdTMfTc7voJEUmnXwFzP_5_H7VA%3Dnnk6-tJ4_xmKpA%40mail.gmail.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/llvm-memorysafetycompiler/CA%2B%3DLHJb-HdTMfTc7voJEUmnXwFzP_5_H7VA%3Dnnk6-tJ4_xmKpA%40mail.gmail.com</a>.<br />
For more options, visit <a href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br />