This is an archive of the discontinued LLVM Phabricator instance.

Add const versions of SBFrame::GetFunctionName and SBFrame::IsInlined.
ClosedPublic

Authored by ovyalov on Jun 24 2015, 2:05 PM.

Details

Reviewers
jingham
labath
Summary

Add const versions of SBFrame::GetFunctionName and SBFrame::IsInlined.

Diff Detail

Event Timeline

ovyalov updated this revision to Diff 28400.Jun 24 2015, 2:05 PM
ovyalov retitled this revision from to Add const versions of SBFrame::GetFunctionName and SBFrame::IsInlined..
ovyalov updated this object.
ovyalov edited the test plan for this revision. (Show Details)
ovyalov added reviewers: jingham, labath.
ovyalov added a subscriber: Unknown Object (MLST).
jingham edited edge metadata.Jun 24 2015, 2:40 PM

That seems fine.

Jim

labath accepted this revision.Jun 25 2015, 1:41 AM
labath edited edge metadata.

lgtm. Potentially we can leave a note to the future maintainer to remove the non-const versions, when/if we decide to make a breaking API change.

This revision is now accepted and ready to land.Jun 25 2015, 1:41 AM

lgtm. Potentially we can leave a note to the future maintainer to remove the non-const versions, when/if we decide to make a breaking API change.

Let's keep this idea about removing non-const version in mind - I didn't put it in code since don't want it to be lost in one of multiple API headers.
We may add README.txt to include/lldb/API to cover maintenance details.

ovyalov closed this revision.Jun 25 2015, 10:49 AM

AFFECTED FILES

/lldb/trunk/include/lldb/API/SBFrame.h
/lldb/trunk/scripts/interface/SBFrame.i
/lldb/trunk/source/API/SBFrame.cpp

USERS

ovyalov (Author)

http://reviews.llvm.org/rL240660