diff options
| author | Raphael Isemann <teemperor@gmail.com> | 2019-12-17 09:48:54 +0100 |
|---|---|---|
| committer | Raphael Isemann <teemperor@gmail.com> | 2019-12-17 10:28:40 +0100 |
| commit | d5b54bbfaf19a8527ebf70fbf23cb8d2937f15ef (patch) | |
| tree | d5134d7708b01d1d60c2265c607d8ae1ed2a280b /lldb/include | |
| parent | 531c1161b9758aa7eae1a4dd8ecf11fdf4417b29 (diff) | |
| download | bcm5719-llvm-d5b54bbfaf19a8527ebf70fbf23cb8d2937f15ef.tar.gz bcm5719-llvm-d5b54bbfaf19a8527ebf70fbf23cb8d2937f15ef.zip | |
[lldb] Add support for calling objc_direct methods from LLDB's expression evaluator.
Summary:
D69991 introduced `__attribute__((objc_direct))` that allows directly calling methods without message passing.
This patch adds support for calling methods with this attribute to LLDB's expression evaluator.
The patch can be summarised in that LLDB just adds the same attribute to our module AST when we find a
method with `__attribute__((objc_direct))` in our debug information.
Reviewers: aprantl, shafik
Reviewed By: shafik
Subscribers: JDevlieghere, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D71196
Diffstat (limited to 'lldb/include')
| -rw-r--r-- | lldb/include/lldb/Symbol/ClangASTContext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/include/lldb/Symbol/ClangASTContext.h b/lldb/include/lldb/Symbol/ClangASTContext.h index 9537f33b338..5d228e7bdad 100644 --- a/lldb/include/lldb/Symbol/ClangASTContext.h +++ b/lldb/include/lldb/Symbol/ClangASTContext.h @@ -845,7 +845,7 @@ public: // (lldb::opaque_compiler_type_t type, "-[NString // stringWithCString:]") const CompilerType &method_compiler_type, lldb::AccessType access, - bool is_artificial, bool is_variadic); + bool is_artificial, bool is_variadic, bool is_objc_direct_call); static bool SetHasExternalStorage(lldb::opaque_compiler_type_t type, bool has_extern); |

