[LLVMbugs] Potential bug in lli
pas at cse.unsw.edu.au
Fri Apr 11 20:04:38 PDT 2003
I am working on an assignment for an advanced compiler's course at UNSW in
Sydney, Australia. Our task is to write a scalar replacement pass for
structs. In doing this, I think I have discovered a bug in lli. The
problem only occurs after it has finished executing my .bc file. I have
included this file for you. After lli has executed the final "ret"
instruction, it will either halt (in which case CTRL-C does not terminate
the program, it needs to be sent the "kill" signal), or prints the
EXCEPTION OCCURRED [Segmentation fault]:
No program executing!
This could be a problem with my pass, but if it is, I have no idea what is
causing it. I have even run lli in debuging mode to make sure my program
has finished executing before it halts. So, is this a bug in lli, or could
my pass somehow cause this to happen?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3348 bytes
Desc: Problem file
More information about the llvm-bugs