[PATCH] D149340: [AMDGPU] Place global constructors in .init_array and .fini_array
Joseph Huber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 27 15:54:46 PDT 2023
jhuber6 added a comment.
In D149340#4303525 <https://reviews.llvm.org/D149340#4303525>, @jdoerfert wrote:
> So we have different schemes for AMD and NVIDIA? That does not sound good.
There's no choice, Nvidia offers no way to export variables to sections and an incomplete ELF linker. I'd rather have AMDGPU do what every other target does and have Nvidia be the black sheep.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149340/new/
https://reviews.llvm.org/D149340
More information about the llvm-commits
mailing list