aadsm added a comment. > I haven't given this much thought, but it may be possible to reuse the stuff > in MockProcess by making it a template (so you'd have a > MockProcess<NativeProcessProtocol>, and a MockProcess<NativeProcessELF>)
Ah interesting, will explore that instead. I was actually thinking if it would be possible to extract the common stuff into a MockProcessCommon and then use multiple inheritance like `MockProcess : MockProcessCommon, NativeProcessProtocol` and `MockProcessELF : MockProcessCommon, NativeProcessELF` but I don't know much about C++ to know if it's feasible so I'll just need to try, it will be a good learning experience. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D62501/new/ https://reviews.llvm.org/D62501 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits