[Lldb-commits] [PATCH] D71196: [lldb] Add support for calling objc_direct methods from LLDB's expression evaluator.
Raphael Isemann via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Dec 9 04:04:44 PST 2019
teemperor created this revision.
teemperor added reviewers: aprantl, shafik.
Herald added subscribers: lldb-commits, JDevlieghere.
Herald added a project: LLDB.
D69991 <https://reviews.llvm.org/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.
Repository:
rLLDB LLDB
https://reviews.llvm.org/D71196
Files:
lldb/include/lldb/Symbol/ClangASTContext.h
lldb/packages/Python/lldbsuite/test/lang/objc/objc_direct-methods/Makefile
lldb/packages/Python/lldbsuite/test/lang/objc/objc_direct-methods/TestObjCDirectMethods.py
lldb/packages/Python/lldbsuite/test/lang/objc/objc_direct-methods/main.m
lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
lldb/source/Symbol/ClangASTContext.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71196.232805.patch
Type: text/x-patch
Size: 7469 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191209/de07a76b/attachment-0001.bin>
More information about the lldb-commits
mailing list