Skip to content

Commit badfa3b

Browse files
committed
Mark IsSwiftThunk as deprecated.
(cherry picked from commit c60c1ea) Signed-off-by: Adrian Prantl <[email protected]>
1 parent 621f19a commit badfa3b

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

lldb/include/lldb/API/SBFrame.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ class LLDB_API SBFrame {
9393
// guess the language type from the mangled name.
9494
lldb::LanguageType GuessLanguage() const;
9595

96+
LLDB_DEPRECATED("Use SBFrame::IsHidden() instead.")
9697
bool IsSwiftThunk() const;
9798

9899
lldb::SBStructuredData GetLanguageSpecificData() const;

lldb/include/lldb/Target/StackFrame.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,17 @@ class StackFrame : public ExecutionContextScope,
408408
/// system implementation details this way.
409409
bool IsHidden();
410410

411+
/// Query whether this frame is a Swift Thunk.
412+
LLDB_DEPRECATED("Use IsHidden() instead.")
413+
bool IsSwiftThunk();
414+
415+
/// Get this frame language specific data.
416+
///
417+
/// \return
418+
/// The StructuredDataImpl object containing the language specific data. Can
419+
/// be null.
420+
StructuredDataImpl *GetLanguageSpecificData();
421+
411422
/// Get the frame's demangled name.
412423
///
413424
/// /// \return

0 commit comments

Comments
 (0)