[all-commits] [llvm/llvm-project] 6a6484: [OpenMP] Fix offload packager not writing to temps...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Jun 14 06:16:50 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a6484c666ed037f20126c4275e70b02807e09f8
      https://github.com/llvm/llvm-project/commit/6a6484c666ed037f20126c4275e70b02807e09f8
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-06-14 (Tue, 14 Jun 2022)

  Changed paths:
    M clang/lib/Driver/Driver.cpp
    M clang/test/Driver/openmp-offload-gpu-new.c

  Log Message:
  -----------
  [OpenMP] Fix offload packager not writing to temps correctly

The offloading packager doesn't have a normal offloading kind. This
would result in its output being sent to the executable name when in
save-temps mode. This would then get overwritten by the actual output.
This patch adds specific checks to make sure that it gets the correct
name.

Reviewed By: tra

Differential Revision: https://reviews.llvm.org/D127673




More information about the All-commits mailing list