Open zzh1010016195 opened 2 years ago
@llvm/issue-subscribers-lldb
It would be interesting to see the result of v var
in this context. The error is because we are trying to realize the value of var
so that we can inject it into the expression context, and for some reason that didn't work. It's likely there's something in the location expression for this var that we don't get right, in which case v var
will also fail.
LLDB cannot print the variable when compiler is g++ and a container instantiates another. System: Ubuntu 20.04 Complier: g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Below is the result of
p var
.The source is a test case for LLDB,
lldb/test/API/tools/lldb-vscode/completions/main.cpp
. I found that a few test cases failed when the test compiler was gcc.