Unverified Commit 22629bb2 authored by Louis Dionne's avatar Louis Dionne Committed by GitHub
Browse files

[libc++] Use availability to rely on key functions for bad_expected_access and...

[libc++] Use availability to rely on key functions for bad_expected_access and bad_function_call (#87390)

This patch uses our availability machinery to allow defining a key
function for bad_function_call and bad_expected_access at all times but
only rely on it when we can. This prevents compilers from complaining
about weak vtables and reduces code bloat and the amount of work done by
the dynamic linker.

rdar://111917845
parent d2d4a1bb
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment