[libc-commits] [PATCH] D151213: [libc][AMDGPU] Disable the AMDGPU backend's ctor/dtor lowering for libc

Joseph Huber via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue May 23 07:21:00 PDT 2023


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGad00a3db4dde: [libc][AMDGPU] Disable the AMDGPU backend's ctor/dtor lowering for libc (authored by jhuber6).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151213

Files:
  libc/startup/gpu/amdgpu/CMakeLists.txt


Index: libc/startup/gpu/amdgpu/CMakeLists.txt
===================================================================
--- libc/startup/gpu/amdgpu/CMakeLists.txt
+++ libc/startup/gpu/amdgpu/CMakeLists.txt
@@ -25,4 +25,5 @@
   "-mcpu=${LIBC_GPU_TARGET_ARCHITECTURE}"
   "--target=${LIBC_GPU_TARGET_TRIPLE}"
   "-flto"
+  "-Wl,-mllvm,-amdgpu-lower-global-ctor-dtor=0"
 )


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151213.524703.patch
Type: text/x-patch
Size: 364 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230523/6a31d42b/attachment.bin>


More information about the libc-commits mailing list