[llvm-bugs] [Bug 28521] New: LLVM bug or sth else?

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 12 07:32:34 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28521

            Bug ID: 28521
           Summary: LLVM bug or sth else?
           Product: libraries
           Version: 3.8
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: ARM
          Assignee: unassignedbugs at nondot.org
          Reporter: tulipawn at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 16728
  --> https://llvm.org/bugs/attachment.cgi?id=16728&action=edit
Function dump and full assembly files

I've got a problem with a piece of LLVM generated code (from Rust) that crashes
with a SIGILL on my ARM Linux system (it's about memory and not unsupported
instructions) and I'm not sure if it's reasonable to blame llvm codegen.

The crashing code comes from using the `-Z orbit` option and it runs fine when
compiled without.
It gets interesting because the crash doesn't reproduce under valgrind or qemu.

I'm attaching assembly dumps of the function from the crashing/working
versions, the main difference in short:

str     r0, [r0, r8]! 

vs

str     r1, [r0, r8]!

Any ideas welcome, thanks!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160712/59f8f83d/attachment.html>


More information about the llvm-bugs mailing list