[clang] [llvm] [clang][DebugInfo] Allow function-local statics to be scoped within a lexical block (PR #213153)
Vladislav Dzhidzhoev via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 31 08:38:53 PDT 2026
dzhidzhoev wrote:
> It might be good to check whether printing these kinds of variables in the debugger (and evaluating expressions involving them) still works fine. Would be surprised if that broke, but good to sanity check
I have added a Dexter test for that.
And just to make sure I'm not missing out on that case, I have added a test similar to `debug-info-static-locals.cpp`, that checks scoping of thread-local variables.
https://github.com/llvm/llvm-project/pull/213153
More information about the cfe-commits
mailing list