================
@@ -950,6 +950,11 @@ void ROCMToolChain::addClangTargetOptions(
                                                 ABIVer))
     return;
 
+  std::tuple<bool, const SanitizerArgs> GPUSan(
+      DriverArgs.hasFlag(options::OPT_fgpu_sanitize,
+                         options::OPT_fno_gpu_sanitize, true),
----------------
ampandey-1995 wrote:

Yes , sorry one misstep is here is that GPUSan object created while not 
checking that ```-fsanitize=address```  available. This GPUSan should be a 
pointer and should be initialized when ```-fsanitize=address``` is detected on 
Args.

https://github.com/llvm/llvm-project/pull/123922
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to