https://github.com/adrian-prantl created https://github.com/llvm/llvm-project/pull/117019
One last diff I missed between Swift and LLVM. >From a91cd8e02b41a3028df671806eb78cb7c5251546 Mon Sep 17 00:00:00 2001 From: Adrian Prantl <apra...@apple.com> Date: Wed, 20 Nov 2024 09:58:52 -0800 Subject: [PATCH] Make SBFrame::GetLanguageSpecificData() const --- lldb/include/lldb/API/SBFrame.h | 2 +- lldb/source/API/SBFrame.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/include/lldb/API/SBFrame.h b/lldb/include/lldb/API/SBFrame.h index 629d4e5bc61f46..3635ee5a537ad8 100644 --- a/lldb/include/lldb/API/SBFrame.h +++ b/lldb/include/lldb/API/SBFrame.h @@ -125,7 +125,7 @@ class LLDB_API SBFrame { /// Language plugins can use this API to report language-specific /// runtime information about this compile unit, such as additional /// language version details or feature flags. - SBStructuredData GetLanguageSpecificData(); + SBStructuredData GetLanguageSpecificData() const; /// Gets the lexical block that defines the stack frame. Another way to think /// of this is it will return the block that contains all of the variables diff --git a/lldb/source/API/SBFrame.cpp b/lldb/source/API/SBFrame.cpp index 5c735dd35e1cf3..2300bec4d685d2 100644 --- a/lldb/source/API/SBFrame.cpp +++ b/lldb/source/API/SBFrame.cpp @@ -1155,7 +1155,7 @@ lldb::SBValue SBFrame::EvaluateExpression(const char *expr, return expr_result; } -SBStructuredData SBFrame::GetLanguageSpecificData() { +SBStructuredData SBFrame::GetLanguageSpecificData() const { LLDB_INSTRUMENT_VA(this); SBStructuredData sb_data; _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits