Displaying 2 results from an estimated 2 matches for "removecalledgeto".
2006 Sep 18
2
[LLVMdev] llvm-g++: Internal error
...and built
them on my machine successfully.
i tried a c-language hello program, it was OK.
But when i tried a c++-language hello program, i got:
~/project/llvm/examples$ llvm-g++ t3.cc -o t3
gccld:
/developer/zsth/project/llvm/src/llvm/lib/Analysis/IPA/CallGraph.cpp:277:
void llvm::CallGraphNode::removeCallEdgeTo(llvm::CallGraphNode*): Assertion
`i && "Cannot find callee to remove!"' failed.
gccld((anonymous namespace)::PrintStackTrace()+0x1a)[0x84eb812]
gccld((anonymous namespace)::SignalHandler(int)+0x110)[0x84ebb3a]
[0xffffe420]
/lib/libc.so.6(abort+0x103)[0x9226e3]
/lib/libc.so.6(_...
2006 Sep 14
1
[LLVMdev] use LLVM to convert C++ code to C code
...c-code generation)<br>
<br>
#include <vector><br>
using namespace std;<br>
<br>
int main()<br>
{<br>
vector<int> v;<br>
}<br>
<br>
$ llvm-g++ test.cpp<br>
<br>
gccld: CallGraph.cpp:277: void
llvm::CallGraphNode::removeCallEdgeTo(llvm::CallGraphNode*): Assertion
`i && "Cannot find callee to remove!"' failed.<br>
gccld((anonymous namespace)::PrintStackTrace()+0x18)[0x84833b4]<br>
gccld((anonymous namespace)::SignalHandler(int)+0x100)[0x848363c]<br>
/lib/tls/libc.so.6[0xbe7a48]<br>...