From 5d27252762207ee61f4bc2cab9c5eb14e5d6f8d8 Mon Sep 17 00:00:00 2001 From: Ben Ashbaugh Date: Mon, 31 Aug 2026 13:51:06 -0700 Subject: [PATCH] allow dumping program build logs without logging There is no need to couple DumpProgramBuildLogs with BuildLogging. Allow setting just DumpProgramBuildLogs without also requiring BuildLogging to dump the program build logs. --- intercept/src/intercept.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/intercept/src/intercept.h b/intercept/src/intercept.h index bad47f08..bfb5a0ad 100644 --- a/intercept/src/intercept.h +++ b/intercept/src/intercept.h @@ -2104,13 +2104,15 @@ inline CObjectTracker& CLIntercept::objectTracker() // #define BUILD_LOGGING_INIT() \ CLIntercept::clock::time_point buildTimeStart; \ - if( pIntercept->config().BuildLogging ) \ + if( pIntercept->config().BuildLogging || \ + pIntercept->config().DumpProgramBuildLogs ) \ { \ buildTimeStart = CLIntercept::clock::now(); \ } #define BUILD_LOGGING( program, num_devices, device_list ) \ - if( pIntercept->config().BuildLogging ) \ + if( pIntercept->config().BuildLogging || \ + pIntercept->config().DumpProgramBuildLogs ) \ { \ pIntercept->logBuild( \ buildTimeStart, \