Re: [lldb-dev] Extern globals showing up as locals

2016-11-21 Thread Sam McCall via lldb-dev
I sent my best attempt in https://reviews.llvm.org/D26908, would appreciate any advice there :-) On Fri, Nov 18, 2016 at 7:22 PM, Sam McCall wrote: > I'm seeing particular globals spuriously being reported as local > variables: they're returned by SBFrame::GetVariables(true, true, false, > true)

[lldb-dev] Extern globals showing up as locals

2016-11-18 Thread Sam McCall via lldb-dev
I'm seeing particular globals spuriously being reported as local variables: they're returned by SBFrame::GetVariables(true, true, false, true) because their scope is eValueTypeVariableLocal. I've tracked down the problem but don't know DWARF well enough to determine the right fix. Anyone want to h