[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 10:57:12 PDT 2023


jhuber6 added a comment.

In D149340#4302728 <https://reviews.llvm.org/D149340#4302728>, @jdoerfert wrote:

> Does this work for non-AMD hardware?
>
> Is this just adding the globals and not actually using this mechanism?

This is all that's required on a platform with a functioning linker, Nvidia need not apply.


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