[LLVMbugs] Potential bug in lli

Peter Sankauskas pas at cse.unsw.edu.au
Fri Apr 11 20:04:38 PDT 2003


Hi,

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
following message:

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?

Thank you,
Peter Sankauskas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scalarise.bc
Type: application/octet-stream
Size: 3348 bytes
Desc: Problem file
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20030412/2f573632/attachment.obj>


More information about the llvm-bugs mailing list