[LLVMbugs] [Bug 21234] New: clang-cl error with ASAN: inline assembly requires more registers than available

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Oct 9 18:08:27 PDT 2014


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: unassignedbugs at nondot.org
          Reporter: ehsan at mozilla.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141010/43e7a21e/attachment.html>


More information about the llvm-bugs mailing list