Index: include/llvm/Bitcode/BitcodeWriterPass.h =================================================================== --- include/llvm/Bitcode/BitcodeWriterPass.h +++ include/llvm/Bitcode/BitcodeWriterPass.h @@ -44,7 +44,7 @@ /// /// Note that this is intended for use with the new pass manager. To construct /// a pass for the legacy pass manager, use the function above. -class BitcodeWriterPass { +class BitcodeWriterPass : public PassInfoMixin { raw_ostream &OS; bool ShouldPreserveUseListOrder; bool EmitSummaryIndex;