[svadev] Need the Documentation for the LLVM pass and TypeCheck.cpp

John Criswell via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 13 10:02:22 PDT 2015


Dear Nikhil,

The errors you are seeing are from trying to compile lib/PoolAllocate in 
the poolalloc SVN module.  As stated previously, you don't need the 
Automatic Pool Allocation transform.  You can comment out PoolAllocate 
from the DIRS variable in poolalloc/lib/Makefile as Peter has done in 
the code in his github repository.

Regards,

John Criswell

On 8/13/15 6:30 AM, Nikhil Reddy Kothapally wrote:
> //===------------ TypeChecks.cpp - Insert runtime type checks 
> -------------===//
> //
> //                     The LLVM Compiler Infrastructure
> //
> // This file was developed by the LLVM research group and is 
> distributed under
> // the University of Illinois Open Source License. See LICENSE.TXT for 
> details.
> //
> //===----------------------------------------------------------------------===//
> //
> // This pass inserts checks to enforce type safety during runtime.
>
>
> http://llvm.org/doxygen/annotated.html
>
> since the documentation i think it should be for LLVM safecode 3.7 i 
> dont know whether it has updated
>
>
> am not able to find the clear doc for this since am trying to solve 
> the error which i have got
>
> llvm[4]: Compiling PoolAllocate.cpp for Release+Asserts build
> /home/NIKHILREDDY/WORK/LLVM_SRC/projects/poolalloc/lib/PoolAllocate/PoolAllocate.cpp: 
> In member function ‘virtual bool 
> llvm::PoolAllocate::runOnModule(llvm::Module&)’:
> /home/NIKHILREDDY/WORK/LLVM_SRC/projects/poolalloc/lib/PoolAllocate/PoolAllocate.cpp:403:16: 
> error: ‘class llvm::Constant’ has no member named 
> ‘replaceUsesOfWithOnConstant’
>              C->replaceUsesOfWithOnConstant(F, CEnew, 
> ReplaceWorklist[index]);
>                 ^
> llvm[4]: Compiling PoolOptimize.cpp for Release+Asserts build
> llvm[4]: Compiling RunTimeAssociate.cpp for Release+Asserts build
> /usr/bin/rm: cannot remove 
> ‘/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc/lib/PoolAllocate/Release+Asserts/PoolAllocate.d.tmp’: 
> No such file or directory
> /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
> make[4]: *** 
> [/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc/lib/PoolAllocate/Release+Asserts/PoolAllocate.o] 
> Error 1
> make[4]: *** Waiting for unfinished jobs....
> make[4]: Leaving directory 
> '/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc/lib/PoolAllocate'
> /home/NIKHILREDDY/WORK/LLVM_SRC/Makefile.rules:880: recipe for target 
> 'all' failed
> make[3]: *** [all] Error 1
> make[3]: Leaving directory 
> '/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc/lib'
> /home/NIKHILREDDY/WORK/LLVM_SRC/Makefile.rules:880: recipe for target 
> 'all' failed
> make[2]: *** [all] Error 1
> make[2]: Leaving directory 
> '/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc'
> /home/NIKHILREDDY/WORK/LLVM_SRC/Makefile.rules:880: recipe for target 
> 'all' failed
> make[1]: *** [all] Error 1
> make[1]: Leaving directory '/home/NIKHILREDDY/WORK/LLVM_OBJ/projects'
> /home/NIKHILREDDY/WORK/LLVM_SRC/Makefile.rules:965: recipe for target 
> 'all' failed
> make: *** [all] Error 1
> NIKHILREDDY at NikhilReddyK ~/WORK/LLVM_OBJ
>
>
>
>
> -- 
> You received this message because you are subscribed to the Google 
> Groups "LLVM = Clang+SAFECode+Softbound+CETS (New Compiler for Windows 
> OS)" group.
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to llvm-memorysafetycompiler+unsubscribe at googlegroups.com 
> <mailto:llvm-memorysafetycompiler+unsubscribe at googlegroups.com>.
> Visit this group at 
> http://groups.google.com/group/llvm-memorysafetycompiler 
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__groups.google.com_group_llvm-2Dmemorysafetycompiler&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=j3wMrsC7YbMiyrN_4bhcDYeSTkrIMfQ6CY2VnEyd5Dw&m=RU298EMwxCvixkvvV8c2eETcsFdOO8ApgsW7kLeYc50&s=V0pSKKsWTMfCR1V6lt8PdgYXepJ8qqCx1clg4-ZfpBI&e=>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/llvm-memorysafetycompiler/ff4d4780-5c0f-4adc-80bc-7d257e2c70c4%40googlegroups.com 
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_msgid_llvm-2Dmemorysafetycompiler_ff4d4780-2D5c0f-2D4adc-2D80bc-2D7d257e2c70c4-2540googlegroups.com-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dfooter&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=j3wMrsC7YbMiyrN_4bhcDYeSTkrIMfQ6CY2VnEyd5Dw&m=RU298EMwxCvixkvvV8c2eETcsFdOO8ApgsW7kLeYc50&s=Dyv0hydLTQ-eJJgsS-wiIlUP-a4ORX-ufzsBsV10Onk&e=>.
> For more options, visit https://groups.google.com/d/optout 
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=j3wMrsC7YbMiyrN_4bhcDYeSTkrIMfQ6CY2VnEyd5Dw&m=RU298EMwxCvixkvvV8c2eETcsFdOO8ApgsW7kLeYc50&s=9S6F2BEEcB5UmiIHSRqJgyQ6x845jPsfGy5Nuw2htiI&e=>.


-- 
John Criswell
Assistant Professor
Department of Computer Science, University of Rochester
http://www.cs.rochester.edu/u/criswell

-- 
You received this message because you are subscribed to the Google Groups "LLVM = Clang+SAFECode+Softbound+CETS (New Compiler for Windows OS)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to llvm-memorysafetycompiler+unsubscribe at googlegroups.com.
Visit this group at http://groups.google.com/group/llvm-memorysafetycompiler.
To view this discussion on the web visit https://groups.google.com/d/msgid/llvm-memorysafetycompiler/55CCCD9E.9060208%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150813/b990c025/attachment.html>


More information about the cfe-commits mailing list