[cfe-dev] CodeGen/functions.c failure

Mike Stump mrs at apple.com
Wed Apr 23 12:11:58 PDT 2008


A clang make test on x86 darwin9:

******************** TEST 'CodeGen/functions.c' FAILED!  
********************
Command:
  clang CodeGen/functions.c -emit-llvm
Incorrect Output:
Assertion failed: (AI != CurFn->arg_end() && "Argument mismatch!"),  
function GenerateCode, file CodeGenFunction.cpp, line 212.
0   clang                               0x00288ca7  
_ZN4llvm3sys20SetInterruptFunctionEPFvvE + 87
1   clang                               0x00288e11  
_ZN4llvm3sys20SetInterruptFunctionEPFvvE + 449
2   libSystem.B.dylib                   0x903525eb _sigtramp + 43
3   ???                                 0xffffffff 0x0 + 4294967295
4   libSystem.B.dylib                   0x903cb3f2 raise + 26
5   libSystem.B.dylib                   0x903da9af abort + 73
6   libSystem.B.dylib                   0x903cc593 __assert_rtn + 101
7   clang                               0x00062bd7  
_ZN5clang7CodeGen15CodeGenFunction12GenerateCodeEPKNS_12FunctionDeclE  
+ 1261
8   clang                               0x0006699a  
_ZN5clang7CodeGen13CodeGenModule12EmitFunctionEPKNS_12FunctionDeclE +  
292
9   clang                               0x0007312d  
_ZN5clang17CreateLLVMCodeGenERNS_10DiagnosticERKNS_11LangOptionsERPN4llvm6ModuleE 
  + 155
10  clang                               0x000cc38c  
_ZN5clang8ParseASTERNS_12PreprocessorEPNS_11ASTConsumerEb + 318
11  clang                               0x000296bc  
_ZNSsC1IN9__gnu_cxx17__normal_iteratorIPcSsEEEET_S4_RKSaIcE + 5710
12  clang                               0x0002cab6 main + 1334
13  clang                               0x00001f8e start + 54
Output/CodeGen/functions.c.out.script: line 1:  5271 Abort  
trap              clang CodeGen/functions.c -emit-llvm
******************** TEST 'CodeGen/functions.c' FAILED!  
********************



More information about the cfe-dev mailing list