[PATCH] D70551: [clang-offload-wrapper] Add data layout to the wrapper bitcode
Alexey Bataev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 21 11:45:37 PST 2019
ABataev added a comment.
In D70551#1755553 <https://reviews.llvm.org/D70551#1755553>, @sdmitriev wrote:
> 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.
Maybe it would better to pass it a parameter just like for opt?
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