[Lldb-commits] [lldb] [lldb-dap] Don't emit memory reference for constants (PR #197645)

Charles Zablit via lldb-commits lldb-commits at lists.llvm.org
Thu May 14 08:57:55 PDT 2026


charles-zablit wrote:

Is this issue on Windows specifically?

>From what I understand, `eValueTypeConstResult` should only be used for expression evaluation.

Changing
```cpp
 case PDB_DataKind::Constant: 
   scope = eValueTypeConstResult; 
   break; 
```
to
```cpp
 case PDB_DataKind::Constant: 
   scope = eValueTypeVariableStatic; 
   break; 
```

would be a better fix.

https://github.com/llvm/llvm-project/pull/197645


More information about the lldb-commits mailing list