Inline asm crash in linux kernel #1254
Labels
backend:X86
bugzilla
Issues migrated from bugzilla
compile-fail
Use [accepts-invalid] and [rejects-valid] instead
Extended Description
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() {
entry:
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
}
The text was updated successfully, but these errors were encountered: