[LLVMbugs] [Bug 1292] NEW: lli barfs on trivial main program with argc, argv, envp args

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Mar 30 08:30:27 PDT 2007


           Summary: lli barfs on trivial main program with argc,argv,envp
           Product: new-bugs
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr

define i32 @main(i32 %argc, i32 %argv, i32 %envp) {
        ret i32 0

$ lli m.bc
lli: lib/VMCore/Instructions.cpp:205: void llvm::CallInst::init(llvm::Value*, 
llvm::Value* const*, unsigned int): Assertion `(i >= FTy->getNumParams() || 
FTy->getParamType(i) == Params[i]->getType()) && "Calling a function with a bad 
signature!"' failed

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list