There are functions where we do not want function instrumentation which is why we have __attribute__((no_instrument_function)). Extending this functionality to disable instrumentation for Objective-C methods as well. Objective C methods like +load run premain and having instrumentation on them causes runtime errors depending on the implementation of __cyg_profile_func_enter etc. functions
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
CI is currently broken, so there's a test here that needs updating: https://reviews.llvm.org/harbormaster/unit/view/1389113/
Also, this should have at least one SemaObjC test to demonstrate that we no longer diagnose this as an unknown attribute in that case.