diff --git a/src/compiler/clc/clc_helpers.cpp b/src/compiler/clc/clc_helpers.cpp index 22ab510ce4d..e15d0c96e01 100644 --- a/src/compiler/clc/clc_helpers.cpp +++ b/src/compiler/clc/clc_helpers.cpp @@ -840,7 +840,7 @@ clc_compile_to_llvm_module(LLVMContext &llvm_ctx, if (!clang::CompilerInvocation::CreateFromArgs(c->getInvocation(), clang_opts, diag)) { - clc_error(logger, "Couldn't create Clang invocation.\n"); + clc_error(logger, "Couldn't create Clang invocation.\n%s\n", diag_log_str.c_str()); return {}; }