[LLVMdev] code generation problem

Nadav Rotem nrotem at apple.com
Wed Sep 19 01:44:38 PDT 2012

Can you reduce the test case and open a bug report (http://llvm.org/bugs/) ?   Can you check if your code works using static compilation ?

On Sep 12, 2012, at 9:07 AM, "Weiss, Eran" <Eran.Weiss at emc.com> wrote:

> I see two instructions "add    %al,(%eax)" (which are four 0 bytes, numerically) prior to function calls. As eax holds the pointer to the called function, this crashes with SIGBUS. These instructions don't make sense in the context of the code, which is why I'm suspecting a code generation error. I'd appreciate any any suggestions regarding what could cause this behavior or where to look for clues.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120919/d19fef6d/attachment.html>

More information about the llvm-dev mailing list