[LLVMdev] code generation problem
Weiss, Eran
Eran.Weiss at emc.com
Tue Sep 11 23:07:42 PDT 2012
Hi,
I have a problem with JIT code generation on mac. The LLVM-IR I have is fine, but the machine code generated crashes.
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.
Thanks,
Eran Weiss.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120912/eb87d5e9/attachment.html>
More information about the llvm-dev
mailing list