[PATCH] D156928: [Clang][AMDGPU] Fix handling of -mcode-object-version=none arg

Saiyedul Islam via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 4 11:44:55 PDT 2023


saiislam marked 2 inline comments as done.
saiislam added a comment.

In D156928#4555121 <https://reviews.llvm.org/D156928#4555121>, @yaxunl wrote:

> `-mcode-object-version=none` was intentionally designed to work with `clang -cc1` only, since it does not work with clang driver if users link with device library. Device library can still use it by  using it with `-Xclang`.

Thanks for the tip @yaxunl . I will abandon this revision and use Xclang for passing cov_none to devicertl.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156928



More information about the cfe-commits mailing list