[PATCH] D68166: [Clang][OpenMP Offload] Add new tool for wrapping offload device binaries

Sergey Dmitriev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 9 17:45:12 PDT 2019


sdmitriev added a comment.

In D68166#1702487 <https://reviews.llvm.org/D68166#1702487>, @thakis wrote:

> Out of interest (or ignorance :) ), why is this a separate binary instead of just part of the normal `clang` driver? C, C++, Objective-C, and assembly all can do with a single driver, yet the offload stuff now has both clang-offload-wrapper and clang-offload-bundler. Why isn't just `clang` enough?


Well, theoretically both bunder and wrapper functionality can be implemented directly in the clang driver, and so technically these tools can be eliminated. But it is just a matter of splitting functionality into well-defined logical pieces:))


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68166





More information about the cfe-commits mailing list