[PATCH] D109544: [OpenMP] Add flag for setting debug in the offloading device

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 10 06:35:47 PDT 2021


jhuber6 updated this revision to Diff 371914.
jhuber6 added a comment.

Adding constant to `llvm.used`. This is most likely easier than dealing with weak external linkage.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109544

Files:
  clang/include/clang/Basic/DiagnosticDriverKinds.td
  clang/include/clang/Basic/LangOptions.def
  clang/include/clang/Driver/Options.td
  clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/Frontend/CompilerInvocation.cpp
  clang/test/OpenMP/target_debug_codegen.cpp
  llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
  llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109544.371914.patch
Type: text/x-patch
Size: 10313 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210910/5dbe0bd3/attachment.bin>


More information about the cfe-commits mailing list