[PATCH] D115510: [clang][OpenMP][DebugInfo] Debug support for variables in shared clause of OpenMP task construct

Djordje Todorovic via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 21 01:51:16 PST 2021


djtodoro accepted this revision.
djtodoro added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/lib/CodeGen/CGStmtOpenMP.cpp:4444-4446
+        // Generate llvm.dbg.declare for each shared variable and
+        // DIExpression = metadata !DIExpression(DW_OP_plus_uconst, OFFSET,
+        // DW_OP_deref)
----------------
nit: We could improve this comment.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115510/new/

https://reviews.llvm.org/D115510



More information about the cfe-commits mailing list