[LLVMbugs] [Bug 13200] New: Assertion failed: (Verify(getFunctionType(), constraints) && "Function type not legal for constraints!"), function InlineAsm, file /Users/lorca/src/llvm/lib/VMCore/InlineAsm.cpp, line 46.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jun 25 06:21:08 PDT 2012


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

             Bug #: 13200
           Summary: Assertion failed: (Verify(getFunctionType(),
                    constraints) && "Function type not legal for
                    constraints!"), function InlineAsm, file
                    /Users/lorca/src/llvm/lib/VMCore/InlineAsm.cpp, line
                    46.
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: notorca at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 8757
  --> http://llvm.org/bugs/attachment.cgi?id=8757
source code

Assertion failed: (Verify(getFunctionType(), constraints) && "Function type not
legal for constraints!"), function InlineAsm, file
/Users/lorca/src/llvm/lib/VMCore/InlineAsm.cpp, line 46.
Stack dump:
0.    Program arguments: /Users/lorca/src/build/bin/clang-3.2 -cc1 -triple
thumbv7-apple-ios3.0.0 -emit-llvm-bc -disable-free -main-file-name test1.c
-pic-level 2 -mdisable-fp-elim -masm-verbose -target-abi apcs-gnu -target-cpu
cortex-a8 -mfloat-abi soft -target-feature +soft-float-abi -resource-dir
/Users/lorca/src/build/bin/../lib/clang/3.2 -O0 -fdebug-compilation-dir
/Users/lorca -ferror-limit 19 -fmessage-length 212 -stack-protector 1
-mstackrealign -fblocks -fblocks-runtime-optional -fobjc-runtime=ios-3.0.0
-fobjc-default-synthesize-properties -fsjlj-exceptions
-fdiagnostics-show-option -fcolor-diagnostics -o test1.o -x cpp-output test1.i 
1.    <eof> parser at end of file
2.    test1.c:3:6: LLVM IR generation of declaration 'test'
3.    test1.c:3:6: Generating code for declaration 'test'
4.    test1.c:4:1: LLVM IR generation of compound statement ('{}')
clang-3: error: unable to execute command: Illegal instruction: 4
clang-3: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.2 (trunk 159133)
Target: arm-apple-darwin11.4.0
Thread model: posix

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list