davide added inline comments.
================
Comment at: source/Core/ValueObject.cpp:1706-1708
+ for (auto *runtime : process->GetLanguageRuntimes()) {
+ if (runtime->IsWhitelistedRuntimeValue(GetName()))
+ return false;
----------------
clayborg wrote:
> Still seems weird that any language can white list a variable by name. Say
> swift has a variable named "this" which is truly should be hidden and is
> marked as artificial, we will always show it...
Swift has no `this`, it has `self`. And yes, there are many places in the
debugger where `self` is mentioned explicitly by name and has special handling.
Also, I think we want to show it, most of the times.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63240/new/
https://reviews.llvm.org/D63240
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits