search for: mainaborted

Displaying 2 results from an estimated 2 matches for "mainaborted".

2012 Sep 18
0
[LLVMdev] Problems on getting UNREACHABLE executed
...all gcc link command to llvm-ld. By these means, I successfully get the bitcode file, but when I run it using "lli", it fails with the error: UNREACHABLE executed!0 lli 0x087c2cabStack dump:0. Program arguments lli timedrun.bc1. Running Pass 'X86 Machine Code Emitter' on function @mainaborted I encountered the same error when executing other executables in the project. Why does this happen? Is there any suggestions to get rid of such problem?  Thank you BestAndy -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/a...
2012 Apr 07
3
[LLVMdev] Problems on getting the OPT resultant bitcode
Hi, I want to write a piece of code to instrument c++ programs. I have finished writing the pass, but I do not know how to get the resultant bitcode I ran OPT with the following arguments: opt -basiccg -basicaa -load /home/andy/llvm-3.0.src/Release/lib/InstTest.so -InstTest </home/andy/llvm-3.0.src/workspace/threadTest/Debug/threadTest.bc> -o=</home/andy/output/out.bc> /dev/null