Page MenuHomePhabricator

[lldb] Add support for calling objc_direct methods from LLDB's expression evaluator.

Authored by teemperor on Dec 9 2019, 4:04 AM.



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.

Diff Detail

Event Timeline

teemperor created this revision.Dec 9 2019, 4:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 9 2019, 4:04 AM
shafik accepted this revision.Dec 9 2019, 2:03 PM


This revision is now accepted and ready to land.Dec 9 2019, 2:03 PM
This revision was automatically updated to reflect the committed changes.