This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Test direct ivar access in objc++ (NFC)
ClosedPublic

Authored by kastiglione on Mar 17 2023, 11:45 AM.

Details

Summary

Add an Objective-C++ specific test for direct ivar access. This adds to the existing C++ and ObjC tests, and tests against regression for future refactoring.

Diff Detail

Event Timeline

kastiglione created this revision.Mar 17 2023, 11:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 17 2023, 11:45 AM
kastiglione requested review of this revision.Mar 17 2023, 11:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 17 2023, 11:45 AM
aprantl added inline comments.Mar 17 2023, 3:04 PM
lldb/test/API/commands/frame/var/direct-ivar/objcpp/main.mm
7

I would recommend using printf("check this") to make 100% sure that there is code on this line.

aprantl accepted this revision.Mar 17 2023, 3:04 PM

Otherwise LGTM

This revision is now accepted and ready to land.Mar 17 2023, 3:04 PM
This revision was automatically updated to reflect the committed changes.