[Openmp-commits] [PATCH] D87946: [OpenMP] Add Location Fields to Libomptarget Runtime for Debugging

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Sep 25 09:21:26 PDT 2020


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

One minor remark from me, otherwise LGTM. @grokos Any concerns or is this OK?



================
Comment at: openmp/libomptarget/src/interface.cpp:73-76
+          FATAL_MESSAGE0(1, "failure of target construct while offloading is mandatory");
+        }
+        else 
+          FATAL_MESSAGE0(1, "failure of target construct while offloading is mandatory");
----------------
also check if `info` has an actual location please. If line and column are 0, print a message that `-g` can help provide source location information.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87946



More information about the Openmp-commits mailing list