[Lldb-commits] [lldb] Make SBFrame::GetLanguageSpecificData() const (PR #117019)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Nov 20 10:00:13 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Adrian Prantl (adrian-prantl)
<details>
<summary>Changes</summary>
One last diff I missed between Swift and LLVM.
---
Full diff: https://github.com/llvm/llvm-project/pull/117019.diff
2 Files Affected:
- (modified) lldb/include/lldb/API/SBFrame.h (+1-1)
- (modified) lldb/source/API/SBFrame.cpp (+1-1)
``````````diff
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;
``````````
</details>
https://github.com/llvm/llvm-project/pull/117019
More information about the lldb-commits
mailing list