mehdi_amini added a comment. Could we have a cheap way to extract modules without parsing the IR? (I assume we need https://reviews.llvm.org/D26179 to get in before we can have a test with multiple modules) https://reviews.llvm.org/D26778