Skip to content

Conversation

@felipepiovezan
Copy link

@felipepiovezan felipepiovezan commented Nov 10, 2025

This PR contains two commits:

  1. An NFC refactor that moves a function into a header for re-use.
  2. A fix for detecting not-captured variables in DIL's impl of GetValueForVariableExpressionPath

rdar://158447239

This NFC commit moves the function GetVariableNotCapturedDiagnostic into
StackFrame, so that it may be shared between the DIL and Legacy
implementations of `GetValueForVariableExpressionPath`.
…ableExpressionPath

This requires changing the VisitIdentifier method. Like in the legacy
implementation, we can upstream these changes once we have a C++
mechanism for detecting the parent closure of a closure from its mangled
name.
@felipepiovezan
Copy link
Author

@swift-ci test

@felipepiovezan
Copy link
Author

17:21:12 lldb-api :: tools/lldb-dap/attach/TestDAP_attach.py

@felipepiovezan
Copy link
Author

@swift-ci test macOS platform

@felipepiovezan
Copy link
Author

@swift-ci test platform windows

@felipepiovezan
Copy link
Author

@swift-ci test windows platform

2 similar comments
@felipepiovezan
Copy link
Author

@swift-ci test windows platform

@felipepiovezan
Copy link
Author

@swift-ci test windows platform

@felipepiovezan felipepiovezan merged commit 0ebff45 into swiftlang:stable/21.x Nov 11, 2025
3 checks passed
@felipepiovezan felipepiovezan deleted the felipe/fix_dil_GetValueForVariableExpressionPath branch November 11, 2025 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants