Hi Balachandran,<div><br></div><div>If this is a bug, it should be filed to clang, since you're compiling a file located in the clang project. But it looks like your llvm tree and clang tree are not in sync. Could you svn update both and see if that fixes it?</div>
<div><br></div><div>Nicolas<br><br><div class="gmail_quote">On Mon, May 21, 2012 at 8:21 PM, Balachandran Sivakumar <span dir="ltr"><<a href="mailto:benignbala@gmail.com" target="_blank">benignbala@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I just thought of trying vmkit and checked out the source<br>
from the svn repo a few minutes back. The build is failing with the<br>
following error.<br>
<br>
llvm[4]: Compiling CGCleanup.cpp for Release+Asserts build<br>
CGCleanup.cpp:507:36: error: no member named 'getCaseSuccessor' in<br>
'llvm::SwitchInst'; did you mean 'getSuccessor'?<br>
llvm::BranchInst::Create(si->getCaseSuccessor(0), si);<br>
^~~~~~~~~~~~~~~~<br>
getSuccessor<br>
/home/ganapathy/projects/llvm/include/llvm/Instructions.h:2727:15:<br>
note: 'getSuccessor' declared here<br>
BasicBlock *getSuccessor(unsigned idx) const {<br>
^<br>
1 error generated.<br>
make[4]: *** [/home/ganapathy/projects/llvm/tools/clang/lib/CodeGen/Release+Asserts/CGCleanup.o]<br>
Error 1<br>
make[4]: Leaving directory<br>
`/home/ganapathy/projects/llvm/tools/clang/lib/CodeGen'<br>
make[3]: *** [CodeGen/.makeall] Error 2<br>
make[3]: Leaving directory `/home/ganapathy/projects/llvm/tools/clang/lib'<br>
<br>
<br>
I have filed a bug for this as well. I might have categorised it wrong<br>
as there was no category for vmkit there. Can someone help me with<br>
this ? If people can give pointers, I can try to fix this as well.<br>
Thanks<br>
<br>
<br>
--<br>
Thank you<br>
Balachandran Sivakumar<br>
<br>
Arise Awake and stop not till the goal is reached.<br>
- Swami Vivekananda<br>
<br>
Mail: <a href="mailto:benignbala@gmail.com">benignbala@gmail.com</a><br>
Blog: <a href="http://benignbala.wordpress.com/" target="_blank">http://benignbala.wordpress.com/</a><br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</blockquote></div><br></div>