[all-commits] [llvm/llvm-project] 23617f: [libcxx] Disable invalid `__start/__stop` referenc...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Wed Aug 14 11:41:11 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 23617f2dc094e3f960d9e0aedaa87a0866e8dc2d
https://github.com/llvm/llvm-project/commit/23617f2dc094e3f960d9e0aedaa87a0866e8dc2d
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-08-14 (Wed, 14 Aug 2024)
Changed paths:
M libcxx/src/include/overridable_function.h
Log Message:
-----------
[libcxx] Disable invalid `__start/__stop` reference on NVPTX (#99381)
Summary:
The logic for this `__is_function_overridden` check requires accessing a
runtime array normally created by the linker. The NVPTX target is an
`__ELF__` target, however it does not support emitting the
`__start/__stop` symbols for C-identifier named sections. This needs to
be disabled explicitly so that the user can compile this with anything.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list