[cfe-dev] Where to put upcoming refcatoring tools

Stephen Kelly steveire at gmail.com
Tue Apr 24 09:02:20 PDT 2012


Stephen Kelly wrote:
> Could you give me a llvm commit I'd be able to build against? Or a patch
> to make it build again (I guess the extra needed arguments have to come
> from somewhere)?
> 

I commented out the conflicting code, and now I get this when trying to run 
the example:

stephen at hal:~/dev/src/llvm{master}$ ~/dev/build/qt/llvm/bin/remove-cstr-
calls ~/dev/build/qt/llvm/ ./unittests/VMCore/DominatorTreeTest.cpp
Processing: 
/home/stephen/dev/src/llvm/unittests/VMCore/DominatorTreeTest.cpp.
In file included from 
/home/stephen/dev/src/llvm/unittests/VMCore/DominatorTreeTest.cpp:1:
In file included from 
/home/stephen/dev/src/llvm/include/llvm/Instructions.h:19:
In file included from 
/home/stephen/dev/src/llvm/include/llvm/InstrTypes.h:19:
In file included from 
/home/stephen/dev/src/llvm/include/llvm/Instruction.h:18:
In file included from /home/stephen/dev/src/llvm/include/llvm/User.h:22:
In file included from 
/home/stephen/dev/src/llvm/include/llvm/Support/ErrorHandling.h:19:
In file included from 
/home/stephen/dev/src/llvm/include/llvm/ADT/StringRef.h:13:
In file included from 
/home/stephen/dev/src/llvm/include/llvm/Support/type_traits.h:20:
In file included from 
/home/stephen/dev/build/qt/llvm/include/llvm/Support/DataTypes.h:58:
/usr/include/x86_64-linux-gnu/sys/types.h:147:10: fatal error: 'stddef.h' 
file not found
#include <stddef.h>
         ^
1 error generated.                                                                                                                                                                                                 
Error while processing 
/home/stephen/dev/src/llvm/unittests/VMCore/DominatorTreeTest.cpp.

Is there more set-up I need to do?




More information about the cfe-dev mailing list