File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 11// REQUIRES: gpu
2- // RUN: %{build} -o %t.out -g
2+ // RUN: %{build} -o %t.out %debug_option
33// RUN: env SYCL_UR_TRACE=2 %{run} %t.out | FileCheck %s
44// UNSUPPORTED: hip
55
6- // Rather than %debug_option, we just use -g since it's supported everywhere
7- // and simplifies things on the FileCheck side.
8-
96// Note that the UR call might be urProgramBuild OR urProgramBuildExp .
107// The same is true for Compile and Link.
118// We want the first match. Don't put parentheses after.
Original file line number Diff line number Diff line change @@ -381,7 +381,7 @@ def open_check_file(file_name):
381381 )
382382 )
383383 config .substitutions .append (("%include_option" , "/FI" ))
384- config .substitutions .append (("%debug_option" , "/DEBUG" ))
384+ config .substitutions .append (("%debug_option" , "/Zi / DEBUG" ))
385385 config .substitutions .append (("%cxx_std_option" , "/std:" ))
386386 config .substitutions .append (("%fPIC" , "" ))
387387 config .substitutions .append (("%shared_lib" , "/LD" ))
You can’t perform that action at this time.
0 commit comments