[Lldb-commits] [lldb] 6473a36 - Make SBFrame::GetLanguageSpecificData() const (#117019)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Nov 20 10:07:27 PST 2024
Author: Adrian Prantl
Date: 2024-11-20T10:07:23-08:00
New Revision: 6473a36edc571cf0734a2e8d4354e332efb170e9
URL: https://github.com/llvm/llvm-project/commit/6473a36edc571cf0734a2e8d4354e332efb170e9
DIFF: https://github.com/llvm/llvm-project/commit/6473a36edc571cf0734a2e8d4354e332efb170e9.diff
LOG: Make SBFrame::GetLanguageSpecificData() const (#117019)
One last diff I missed between Swift and LLVM.
Added:
Modified:
lldb/include/lldb/API/SBFrame.h
lldb/source/API/SBFrame.cpp
Removed:
################################################################################
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;
More information about the lldb-commits
mailing list