This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Remove {Get,Set}CloseInputOnEOF and deprecate SB equivalent (NFC)
ClosedPublic

Authored by JDevlieghere on Aug 15 2023, 10:26 AM.

Details

Summary

These functions have been NO-OPs since 2014 (44d937820b451). Remove them
and deprecate the corresponding functions in SBDebugger.

Diff Detail

Event Timeline

JDevlieghere created this revision.Aug 15 2023, 10:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 15 2023, 10:26 AM
JDevlieghere requested review of this revision.Aug 15 2023, 10:26 AM
clayborg accepted this revision.Aug 15 2023, 10:32 AM
This revision is now accepted and ready to land.Aug 15 2023, 10:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 15 2023, 10:37 AM
bulbazord added inline comments.Aug 15 2023, 10:39 AM
lldb/source/API/SBDebugger.cpp
1538–1545

You probably want these annotations on the header file so that projects that compile against LLDB get the deprecation warnings.

JDevlieghere marked an inline comment as done.Aug 15 2023, 10:41 AM
JDevlieghere added inline comments.
lldb/source/API/SBDebugger.cpp
1538–1545

Good point. Fixed in f2ec73c74650.