mehdi_amini added a subscriber: mehdi_amini. mehdi_amini added a comment. This sounds like not very idiomatic. I believe the usual solution is to handle this inside `doInitialization`. Can you clarify why you didn't do it this way? https://reviews.llvm.org/D24993