[libcxx-commits] [libc] [libcxx] [clang] [libcxxabi] [llvm] [lld] [flang] [clang-tools-extra] [compiler-rt] [libc++] Fix the behavior of throwing `operator new` under -fno-exceptions (PR #69498)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Nov 5 15:23:24 PST 2023
ldionne wrote:
> I think we can check whether it's been overridden more easily using an asm alias like this (when libc++ is built under -fno-exceptions):
This doesn't work on Darwin (apparently we don't support the alias attribute on that platform). I could investigate doing this all non-Darwin platforms, however that would make the utility a lot less generic than in my latest patch, since I'd have to handle each function I want to check for overrides individually.
https://github.com/llvm/llvm-project/pull/69498
More information about the libcxx-commits
mailing list