[clang] [Driver] Enable -ftime-trace for CUDA/HIP device compilation (PR #179701)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 4 11:46:03 PST 2026


================
@@ -5821,7 +5821,8 @@ InputInfoList Driver::BuildJobsForAction(
 
 static void handleTimeTrace(Compilation &C, const ArgList &Args,
                             const JobAction *JA, const char *BaseInput,
-                            const InputInfo &Result) {
+                            const InputInfo &Result,
+                            StringRef OffloadingPrefix = "") {
----------------
jhuber6 wrote:

Why do we need to pass this in? We have access to the compilation so I figured that we'd just generate some name if the current job action is offloading.

https://github.com/llvm/llvm-project/pull/179701


More information about the cfe-commits mailing list