[LLVMdev] VMKit build broken

Balachandran Sivakumar benignbala at gmail.com
Mon May 21 11:21:18 PDT 2012


Hi,

             I just thought of trying vmkit and checked out the source
from the svn repo a few minutes back. The build is failing with the
following error.

llvm[4]: Compiling CGCleanup.cpp for Release+Asserts build
CGCleanup.cpp:507:36: error: no member named 'getCaseSuccessor' in
'llvm::SwitchInst'; did you mean 'getSuccessor'?
      llvm::BranchInst::Create(si->getCaseSuccessor(0), si);
                                   ^~~~~~~~~~~~~~~~
                                   getSuccessor
/home/ganapathy/projects/llvm/include/llvm/Instructions.h:2727:15:
note: 'getSuccessor' declared here
  BasicBlock *getSuccessor(unsigned idx) const {
              ^
1 error generated.
make[4]: *** [/home/ganapathy/projects/llvm/tools/clang/lib/CodeGen/Release+Asserts/CGCleanup.o]
Error 1
make[4]: Leaving directory
`/home/ganapathy/projects/llvm/tools/clang/lib/CodeGen'
make[3]: *** [CodeGen/.makeall] Error 2
make[3]: Leaving directory `/home/ganapathy/projects/llvm/tools/clang/lib'


I have filed a bug for this as well. I might have categorised it wrong
as there was no category for vmkit there. Can someone help me with
this ? If people can give pointers, I can try to fix this as well.
Thanks


-- 
Thank you
Balachandran Sivakumar

Arise Awake and stop not till the goal is reached.
                                                             - Swami Vivekananda

Mail: benignbala at gmail.com
Blog: http://benignbala.wordpress.com/




More information about the llvm-dev mailing list