Index: tools/llvm-mc-assemble-fuzzer/llvm-mc-assemble-fuzzer.cpp =================================================================== --- tools/llvm-mc-assemble-fuzzer/llvm-mc-assemble-fuzzer.cpp +++ tools/llvm-mc-assemble-fuzzer/llvm-mc-assemble-fuzzer.cpp @@ -228,8 +228,8 @@ } MCCodeEmitter *CE = TheTarget->createMCCodeEmitter(*MCII, *MRI, Ctx); - MCAsmBackend *MAB = TheTarget->createMCAsmBackend(*MRI, TripleName, MCPU, - MCOptions); + MCAsmBackend *MAB = TheTarget->createMCAsmBackend(*STI, *MRI, MCOptions); + Str.reset(TheTarget->createMCObjectStreamer( TheTriple, Ctx, std::unique_ptr(MAB), *OS, std::unique_ptr(CE), *STI, MCOptions.MCRelaxAll,