Call Sema::ActOnEndOfTranslationUnit in order to complete the module import.  For example, if the module contained virtual classes Sema has to generate/update the virtual tables and so on, exactly as we do after each incremental parse  (IncrementalParser::ParseInternal)
Call Sema::ActOnEndOfTranslationUnit in order to complete the module import. 
For example, if the module contained virtual classes Sema has to generate/update
the virtual tables and so on, exactly as we do after each incremental parse 
(IncrementalParser::ParseInternal)

Now we have the code generated for the inlines coming from a module, but due to
a bug in the current state of the modules it generates some declaration of
a function (declare i8* @llvm.ptr.annotation.p0i8(i8*, i8*, i8*, i32) nounwind),
which causes the jit to choke with "LLVM ERROR: Cannot select: intrinsic %llvm.ptr.annotation"


git-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@48406 27541ba8-7e3a-0410-8455-c3a389f83636

bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT