[clang] [Driver] Enable -ftime-trace for CUDA/HIP device compilation (PR #179701)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 19 07:19:12 PST 2026
================
@@ -5858,22 +5858,67 @@ static void handleTimeTrace(Compilation &C, const ArgList &Args,
Args.getLastArg(options::OPT_ftime_trace, options::OPT_ftime_trace_EQ);
if (!A)
return;
+
+ std::string OffloadingPrefix;
----------------
jhuber6 wrote:
Should this be a small string?
https://github.com/llvm/llvm-project/pull/179701
More information about the cfe-commits
mailing list