[flang-commits] [flang] [flang] Emit `argNo` debug info only for `func` block args (PR #93921)

Abid Qadeer via flang-commits flang-commits at lists.llvm.org
Mon Jun 3 02:37:43 PDT 2024


================
@@ -0,0 +1,16 @@
+! Tests that there no debug-info conflicts arise because of DI attached to nested
+! OMP regions arguments.
+
+! RUN: %flang -c -fopenmp -g -mmlir --openmp-enable-delayed-privatization=true \
+! RUN:   %s -o - 2>&1 | FileCheck %s
----------------
abidh wrote:

Nit: I think using `%flang_fc1 -emit-llvm` will also reproduce this problem and it will be more in line with the other tests in this folder instead of using `%flang`. You can use `-debug-info-kind=standalone` for `-g`.

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


More information about the flang-commits mailing list