http://llvm.org/bugs/show_bug.cgi?id=21234

            Bug ID: 21234
           Summary: clang-cl error with ASAN: inline assembly requires
                    more registers than available
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Register Allocator
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 13180
  --> http://llvm.org/bugs/attachment.cgi?id=13180&action=edit
Generated LLVM code

$ cat test.c
void f(unsigned a, unsigned b, unsigned c)
{
    __asm {
        push    c
        mov     ecx,a
        mov     edx,0
        mov     eax,b
    }
}
$ ./bin/clang-cl -m32 -c -fsanitize=address test.c
test.c(3,5) :  error: inline assembly requires more registers than available
    __asm {
    ^
1 error generated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to