[PATCH] D125847: LTO: Enable opaque pointers by default.
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 18 09:39:50 PDT 2022
aeubanks added a comment.
In D125847#3521583 <https://reviews.llvm.org/D125847#3521583>, @nikic wrote:
> Related bug report: https://github.com/llvm/llvm-project/issues/55377
>
> In D125847#3521080 <https://reviews.llvm.org/D125847#3521080>, @MatzeB wrote:
>
>> I am not completely sure however how to deal with users specifying `-Xclang -no-opaque-pointers` explicitly. With this change they would end up using opaque-pointers anyway in LTO modes...
>
> I believe the right way to do this is to add an `OpaquePointers` option to `lto::Config`, add `-plugin-opt=no-opaque-pointers` to LLD/LLVMgold.so, and then pass that from clang.
>
> Alternatively we could just drop support for LTO with typed pointers :)
+1 to adding something to `lto::Config`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125847/new/
https://reviews.llvm.org/D125847
More information about the llvm-commits
mailing list