mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-23 22:26:04 +00:00

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