diff options
| author | Aditya Kumar <1894981+hiraditya@users.noreply.github.com> | 2021-10-08 16:28:15 -0700 |
|---|---|---|
| committer | Aditya Kumar <1894981+hiraditya@users.noreply.github.com> | 2021-10-08 17:54:44 -0700 |
| commit | 0f00aa502d79acf8a92b0b8490489895a9f28829 (patch) | |
| tree | 4052d0b0fa1cb28c96f2d5e05c3b29b7e633b2c6 /lldb/test/Shell/ScriptInterpreter/Python | |
| parent | 04aff395047ab39811eea1fd811a5874d3e4dfe4 (diff) | |
| download | llvm-0f00aa502d79acf8a92b0b8490489895a9f28829.zip llvm-0f00aa502d79acf8a92b0b8490489895a9f28829.tar.gz llvm-0f00aa502d79acf8a92b0b8490489895a9f28829.tar.bz2 | |
Add no_instrument_function attribute to Objective C methods as well
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
Reviewed By: rjmccall, aaron.ballman
Differential Revision: https://reviews.llvm.org/D111286
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
