[LLVMbugs] [Bug 7097] New: Calling a function with bad signature

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat May 8 06:54:46 PDT 2010


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

           Summary: Calling a function with bad signature
           Product: clang
           Version: trunk
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: grzegorz.dabrowski at gmail.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Created an attachment (id=4868)
 --> (http://llvm.org/bugs/attachment.cgi?id=4868)
Test case

$ clang NotificationManager.cpp -c -o NotificationMamager.o -fno-use-cxa-atexit
clang: Instructions.cpp:286:void llvm::CallInst::init(llvm::Value*,
llvm::Value*): (FTy->getNumParams() == 1 || (FTy->isVarArg() &&
FTy->getNumParams() == 0)) && "Calling a function with bad signature"
clang: error: compiler command failed due to signal 21 (use -v to see
invocation)

OS: Haiku

-- 
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