The wording in the documentation is a bit unclear. I suggest: Caution: this function finalizes, i.e. forces code generation, all loaded modules. Further modifications to the modules will not have any effect. http://reviews.llvm.org/D6761 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/