commit | 46870a0d06191d2755d0688405433d57da6f8e4c | [log] [tgz] |
---|---|---|
author | Erik Pilkington <erik.pilkington@gmail.com> | Mon Apr 05 19:23:27 2021 -0400 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Apr 12 11:05:54 2021 -0700 |
tree | e45c26fa5d25d0a389dc46f98efccbd8185f9427 | |
parent | 847fc4133aeafa90a4566a2510746382a80f037b [diff] |
[ObjC] Add a command line flag that disables recognition of objc_direct for testability Programmers would like to be able to test direct methods by calling them from a different linkage unit or mocking them, both of which are impossible. This patch adds a flag that effectively disables the attribute, which will fix this when enabled in testable builds. rdar://71190891 Differential revision: https://reviews.llvm.org/D95845 GitOrigin-RevId: b660abc80d0d0943c54e9440636ddfa89c2d626d