llvmorg-github-actions[bot] wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Henry Jiang (mustartt)

<details>
<summary>Changes</summary>

`cuda-omp-unsupported-debug-options.cu`'s COMMON-NOT: ...|lldb|... can match 
against the build directory path that may contain `lldb` in the pathname. 
Change the test to check the exact cc1 arguments.

---
Full diff: https://github.com/llvm/llvm-project/pull/213799.diff


1 Files Affected:

- (modified) clang/test/Driver/cuda-omp-unsupported-debug-options.cu (+2-2) 


``````````diff
diff --git a/clang/test/Driver/cuda-omp-unsupported-debug-options.cu 
b/clang/test/Driver/cuda-omp-unsupported-debug-options.cu
index cc6a538d7a7ba..9983cbcd51f8e 100644
--- a/clang/test/Driver/cuda-omp-unsupported-debug-options.cu
+++ b/clang/test/Driver/cuda-omp-unsupported-debug-options.cu
@@ -57,6 +57,6 @@
 // WARN-GES-SAME: requires DWARF-5 but target 'nvptx64-nvidia-cuda' only 
provides DWARF-2 [-Wunsupported-target-opt]
 // COMMON-NOT: debug information option '{{.*}}' is not supported for target 
'x86
 // COMMON: "-triple" "nvptx64-nvidia-cuda"
-// COMMON-NOT: 
{{-compress-debug|-fdebug-info-for-profiling|lldb|codeview|module-format|embed-source|debug-info-macro|gnu-pubnames|generate-arange-section|generate-type-units}}
+// COMMON-NOT: 
{{"--compress-debug-sections=|"-fdebug-info-for-profiling"|"-debugger-tuning=lldb"|"-gcodeview"|"-fmodule-format=|"-gembed-source"|"-debug-info-macro"|"-ggnu-pubnames"|"-generate-arange-section"|"-generate-type-units"}}
 // COMMON: "-triple" "x86_64
-// COMMON-SAME: 
{{-compress-debug|-fdebug-info-for-profiling|split-dwarf|lldb|codeview|module-format|embed-source|debug-info-macro|gnu-pubnames|generate-arange-section|generate-type-units}}
+// COMMON-SAME: 
{{"--compress-debug-sections=|"-fdebug-info-for-profiling"|"-split-dwarf-|"-debugger-tuning=lldb"|"-gcodeview"|"-fmodule-format=|"-gembed-source"|"-debug-info-macro"|"-ggnu-pubnames"|"-generate-arange-section"|"-generate-type-units"}}

``````````

</details>


https://github.com/llvm/llvm-project/pull/213799
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to