[PATCH] D134189: [CUDA][HIP] Fix new driver crashing when using -save-temps in RDC-mode

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 19 09:01:10 PDT 2022


jhuber6 created this revision.
jhuber6 added reviewers: tra, yaxunl.
Herald added subscribers: kosarev, mattd, kerbowa, jvesely.
Herald added a project: All.
jhuber6 requested review of this revision.
Herald added subscribers: cfe-commits, sstefan1, MaskRay.
Herald added a reviewer: jdoerfert.
Herald added a project: clang.

Previously when using the `clang-offload-packager` we did not pass the
active offloading kinds. Then in Clang when we attempted to detect when
there was host-offloading action that needed to be embedded in the host
we did not find it. This patch adds the active offloading kinds so we
know when there is input to be embedded.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D134189

Files:
  clang/include/clang/Driver/Action.h
  clang/lib/Driver/Action.cpp
  clang/lib/Driver/Driver.cpp
  clang/test/Driver/amdgpu-openmp-toolchain.c
  clang/test/Driver/cuda-bindings.cu
  clang/test/Driver/cuda-phases.cu
  clang/test/Driver/openmp-offload-gpu.c
  clang/test/Driver/openmp-offload.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134189.461225.patch
Type: text/x-patch
Size: 9429 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220919/ff287f5d/attachment-0001.bin>


More information about the cfe-commits mailing list