Hello, Christopher. > - return TypeDB.setType(type, ConvertFunctionType(type, NULL, > CallingConv)); > + return TypeDB.setType(type, ConvertFunctionType(type, orig_type, NULL, > CallingConv)); and another one: second argument should be "declaration" tree, not "type" tree. This was caused build error on darwin (reported by Tanya):
<tonic> ./../src/gcc/config/darwin-crt3.c: In function 'cxa_atexit_check_2': <tonic> ../../src/gcc/config/darwin-crt3.c:160: internal compiler error: tree check: expected class 'declaration', have 'type' (function_type) in ConvertFunctionType, at llvm-types.cpp:983 -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits