It looks like c74900ca67241bf963b7a4cfa1fae8eadf6bb8cd changed IRLayer::emit() from accepting a MaterializationResponsibility to accepting a std::unique_ptr<MaterializationResponsibility>, which broke the compilation of the ThinLtoJIT example: https://reviews.llvm.org/harbormaster/build/91968/
This diff updates ThinLtoInstrumentationLayer.h and ThinLtoInstrumentationLayer.cpp to accept a std::unique_ptr<MaterializationResponsibility> instead.