[PATCH] D118198: [OpenMP] Remove call to 'clang-offload-wrapper' binary

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 25 14:50:33 PST 2022


jhuber6 created this revision.
jhuber6 added reviewers: jdoerfert, JonChesterfield, ronlieb, saiislam.
Herald added subscribers: guansong, yaxunl, mgorny.
jhuber6 requested review of this revision.
Herald added subscribers: cfe-commits, sstefan1.
Herald added a project: clang.

This patch removes the system call to the `clang-offload-wrapper` tool
by replicating its functionality in a new file. This improves
performance and makes the future wrapping functionality easier to
change.

Depends on D118197 <https://reviews.llvm.org/D118197>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118198

Files:
  clang/tools/clang-linker-wrapper/CMakeLists.txt
  clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
  clang/tools/clang-linker-wrapper/OffloadWrapper.cpp
  clang/tools/clang-linker-wrapper/OffloadWrapper.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118198.403043.patch
Type: text/x-patch
Size: 16537 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220125/a7d63643/attachment-0001.bin>


More information about the cfe-commits mailing list