commit | 80021a5a568380cb4cd344eb2f005a62da5191af | [log] [tgz] |
---|---|---|
author | Louis Dionne <ldionne.2@gmail.com> | Tue Apr 16 10:54:28 2024 -0400 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Apr 16 07:58:40 2024 -0700 |
tree | 62552493213c95f782023f9bbd796677a0494218 | |
parent | 6853627babeaad5d21480b6d23fe5a3426e60eda [diff] |
[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 GitOrigin-RevId: 22629bb22a1bea95eebfc9b3171005de107c38f1