Displaying 1 result from an estimated 1 matches for "dongpeng".
Did you mean:
dongfeng
2014 Mar 21
3
[LLVMdev] lli crashes when running cpp programs
...cls *A = new
cls();
delete A;
return
0;
}
----------- end of file
-----------
I compile and run the program
by:
$ clang++ -emit-llvm -S example.cc -o
example.S
$ llvm-as example.S -o example.bc
$ lli
example.bc
and get the "Recursive compilation" error
output:
lli:
/home/dongpeng/Program/llvm/lib/ExecutionEngine/JIT/JIT.cpp:467: void
llvm::JIT::runJITOnFunctionUnlocked(llvm::Function*, const
llvm::MutexGuard&): Assertion `!isAlreadyCodeGenerating && "Error:
Recursive compilation detected!"' failed.
0 lli
0x0000000001323d37
llvm::sys::P...