diff options
author | Kareem Ergawy <kareem.ergawy@amd.com> | 2024-06-03 11:33:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-03 11:33:00 +0200 |
commit | 5bfc444524d74b714b9efb2dc00c7bc36a3838e2 (patch) | |
tree | 78babb69c968953b7982c593797db926d4fef45f /clang/lib/Serialization/ModuleFile.cpp | |
parent | 6b7444964a8d028989beee554a1f5c61d16a1cac (diff) | |
download | llvm-5bfc444524d74b714b9efb2dc00c7bc36a3838e2.zip llvm-5bfc444524d74b714b9efb2dc00c7bc36a3838e2.tar.gz llvm-5bfc444524d74b714b9efb2dc00c7bc36a3838e2.tar.bz2 |
[flang] Emit `argNo` debug info only for `func` block args (#93921)
Fixes a bug uncovered by
[pr43337.f90](https://github.com/llvm/llvm-test-suite/blob/main/Fortran/gfortran/regression/gomp/pr43337.f90)
in the test suite.
In particular, this emits `argNo` debug info only if the parent op of a
block is a `func.func` op. This avoids DI conflicts when a function
contains a nested OpenMP region that itself has block arguments with DI
attached to them; for example, `omp.parallel` with delayed privatization
enabled.
Diffstat (limited to 'clang/lib/Serialization/ModuleFile.cpp')
0 files changed, 0 insertions, 0 deletions