diff options
| author | Jim Ingham <jingham@apple.com> | 2022-04-08 12:25:53 -0700 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2022-04-08 17:45:16 -0700 |
| commit | 833882b32701ce3713c9dd9afdedf1126db691f0 (patch) | |
| tree | ad89161a916582864f6be7fd264287b6ddba3bd9 /lldb/test/API/functionalities/data-formatter/data-formatter-objc | |
| parent | 2a2149c754f96376ddf8fed248102dd8e6092a22 (diff) | |
Adapt the ObjC stepping algorithm to deal with "selector-stubs" in clang.
Clang is adding a feature to ObjC code generation, where instead of calling
objc_msgSend directly with an object & selector, it generates a stub that
gets passed only the object and the stub figures out the selector.
This patch adds support for following that dispatch method into the implementation
function.
Diffstat (limited to 'lldb/test/API/functionalities/data-formatter/data-formatter-objc')
| -rw-r--r-- | lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCKVO.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCKVO.py b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCKVO.py index fe4e3ed0e1ec..36727d37c57e 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCKVO.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCKVO.py @@ -57,7 +57,7 @@ class ObjCDataFormatterKVO(ObjCDataFormatterTestCase): ' 21 key/value pairs' ]) - lldbutil.run_break_set_by_regexp(self, 'setAtoms') + lldbutil.run_break_set_by_symbol(self, '-[Molecule setAtoms:]') self.runCmd("continue") self.expect("frame variable _cmd", substrs=['setAtoms:']) |
