[PATCH] D70551: [clang-offload-wrapper] Add data layout to the wrapper bitcode

Sergey Dmitriev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 21 11:27:29 PST 2019


sdmitriev added a comment.

In D70551#1755527 <https://reviews.llvm.org/D70551#1755527>, @ABataev wrote:

> Why do we need this?


To pass wrapper bitcode directly to the linker when LTO is enabled. LTO plugin does not accept bc if there is no data layout.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70551





More information about the cfe-commits mailing list