[Openmp-commits] [PATCH] D106229: [OpenMP][Offloading] Add -g when compiling deviceRTLs in debug mode

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Sat Jul 17 21:35:59 PDT 2021


JonChesterfield accepted this revision.
JonChesterfield added a comment.
This revision is now accepted and ready to land.

LG



================
Comment at: openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt:56
 # Activate RTL message dumps if requested by the user.
 if(LIBOMPTARGET_NVPTX_DEBUG)
+  set(CUDA_DEBUG -DOMPTARGET_NVPTX_DEBUG=-1 -g)
----------------
Should probably rename this, can reasonably imagine someone wants a debug version of one target and not the other. Separate patch though.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106229



More information about the Openmp-commits mailing list