[llvm-bugs] [Bug 35726] New: Segmentation fault compiling (possibly invalid) inline asm

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Dec 21 17:42:57 PST 2017


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

            Bug ID: 35726
           Summary: Segmentation fault compiling (possibly invalid) inline
                    asm
           Product: new-bugs
           Version: 5.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: ian at zenhack.net
                CC: llvm-bugs at lists.llvm.org

Created attachment 19590
  --> https://bugs.llvm.org/attachment.cgi?id=19590&action=edit
Archive containing emitted reproducer script, triggering source, and stack
trace

Attempting to compile the attached C source with clang 5.0 causes a crash
(error.txt in the archive). A reproducer script emitted by the compiler is
included.

The source has been simplified from the original; most of what's left is
required to reproduce the issue.

The stack trace indicates that the error is happening while attempting to emit
inline assembly. Note that I'm not certain whether the inline asm in lidt is
actually valid (I suspect it's not). But obviously in that case clang should
just report the error cleanly.

-- 
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/20171222/654bc416/attachment-0001.html>


More information about the llvm-bugs mailing list