[LLVMbugs] [Bug 882] NEW: Inline asm crash in linux kernel

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Aug 17 09:04:03 PDT 2006


           Summary: Inline asm crash in linux kernel
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: alenhar2 at uiuc.edu

The following test case crashes the X86 backend.

target endian = little
target pointersize = 32
target triple = "i686-pc-linux-gnu"
%str = external global [12 x sbyte]             ; <[12 x sbyte]*> [#uses=1]

implementation   ; Functions:

void %unknown_bootoption() {
        call void asm sideeffect "ud2\0A\09.word ${0:c}\0A\09.long ${1:c}\0A",
"i,i,~{dirflag},~{fpsr},~{flags}"( int 235, sbyte* getelementptr ([12 x sbyte]*
%str, int 0, uint 0) )
        ret void

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list