[libcxx-commits] [libcxx] [libcxx] Disable invalid `__start/__stop` reference on NVPTX (PR #99381)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jul 31 07:18:19 PDT 2024


================
@@ -96,7 +96,7 @@ _LIBCPP_HIDE_FROM_ABI bool __is_function_overridden(_Ret (*__fptr)(_Args...)) no
 }
 _LIBCPP_END_NAMESPACE_STD
 
-#elif defined(_LIBCPP_OBJECT_FORMAT_ELF)
+#elif defined(_LIBCPP_OBJECT_FORMAT_ELF) && !defined(__NVPTX__)
----------------
ldionne wrote:

Can you please add a comment?

https://github.com/llvm/llvm-project/pull/99381


More information about the libcxx-commits mailing list