diff options
Diffstat (limited to 'lib/Frontend/CompilerInstance.cpp')
-rw-r--r-- | lib/Frontend/CompilerInstance.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Frontend/CompilerInstance.cpp b/lib/Frontend/CompilerInstance.cpp index 454d7bd4fc..7b3fe7876b 100644 --- a/lib/Frontend/CompilerInstance.cpp +++ b/lib/Frontend/CompilerInstance.cpp @@ -1026,7 +1026,8 @@ static void compileModule(CompilerInstance &ImportingInstance, TempModuleMapFileName, /*makeAbsolute=*/true) != llvm::errc::success) { - // FIXME: Give a sensible error message here. + ImportingInstance.getDiagnostics().Report(diag::err_module_map_temp_file) + << TempModuleMapFileName; return; } // Print the module map to this file. |