diff --git a/llvm/tools/bugpoint/CodeGeneratorBug.cpp b/llvm/tools/bugpoint/CodeGeneratorBug.cpp index c371f2808f44..dec9caea411f 100644 --- a/llvm/tools/bugpoint/CodeGeneratorBug.cpp +++ b/llvm/tools/bugpoint/CodeGeneratorBug.cpp @@ -253,8 +253,9 @@ bool ReduceMisCodegenFunctions::TestFuncs(const std::vector &Funcs, for (unsigned i=0, e = InputArgv.size(); i != e; ++i) std::cout << " " << InputArgv[i]; std::cout << "\n"; - std::cout << "The shared object was created with:\ndis -c " << SafeModuleBC - << "-o " << SharedObject << "\n"; + std::cout << "The shared object was created with:\n dis -c " + << SafeModuleBC << " -o temporary.c\n" + << " gcc -shared temporary.c -o " << SharedObject << "\n"; } else { removeFile(TestModuleBC); removeFile(SafeModuleBC);