Skip to Content.
Sympa Menu

svadev - [svadev] Regarding the Error can you please give me the detailed description to solve this

svadev AT lists.siebelschool.illinois.edu

Subject: Svadev mailing list

List archive

[svadev] Regarding the Error can you please give me the detailed description to solve this


Chronological Thread 
  • From: Nikhil Reddy Kothapally <nikhilreddykotha AT gmail.com>
  • To: John Criswell <jtcriswel AT gmail.com>
  • Cc: peterfinnfilms <peterdfinn AT icloud.com>, llvm-memorysafetycompiler AT googlegroups.com
  • Subject: [svadev] Regarding the Error can you please give me the detailed description to solve this
  • Date: Thu, 13 Aug 2015 13:33:44 +0200
  • List-archive: <http://groups.google.com/group/llvm-memorysafetycompile>
  • List-id: <llvm-memorysafetycompiler.googlegroups.com>
  • Mailing-list: list llvm-memorysafetycompiler AT googlegroups.com; contact llvm-memorysafetycompiler+owners AT googlegroups.com

Hello ,
           i have tried to solve but after removing the 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    https://groups.google.com/forum/#!forum/llvm-memorysafetycompiler     



          //===------------ 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.


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.


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@NikhilReddyK ~/WORK/LLVM_OBJ

Thank You,

Kind Regards,

Nikhil Reddy Kothapally

Master Student 

Technische Universität Chemnitz,(Germany)

Automotive Software Engineering.

--
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/CA%2B%3DLHJb-HdTMfTc7voJEUmnXwFzP_5_H7VA%3Dnnk6-tJ4_xmKpA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


  • [svadev] Regarding the Error can you please give me the detailed description to solve this, Nikhil Reddy Kothapally, 08/13/2015

Archive powered by MHonArc 2.6.16.

Top of Page