diff options
author | EdB <[email protected]> | 2015-05-11 17:45:08 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2015-05-27 15:33:58 +0300 |
commit | 40665362fd660a8d58f9edbdfec79a33d44b1534 (patch) | |
tree | b735d589ac53bc9f79286079fceef730fd6a7fe2 /src/gallium | |
parent | 2b8c51834bcc34a70dec9b470a28c0ef972d6993 (diff) |
clover: Log build options when dumping clc source.
Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/state_trackers/clover/llvm/invocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp index 7d2d941407e..9b91fee9032 100644 --- a/src/gallium/state_trackers/clover/llvm/invocation.cpp +++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp @@ -709,7 +709,7 @@ clover::compile_program_llvm(const std::string &source, llvm_ctx.setDiagnosticHandler(diagnostic_handler, &r_log); if (get_debug_flags() & DBG_CLC) - debug_log(source, ".cl"); + debug_log("// Build options: " + opts + '\n' + source, ".cl"); // The input file name must have the .cl extension in order for the // CompilerInvocation class to recognize it as an OpenCL source file. |