Re: [lldb-dev] Evaluate expression for template class

2019-07-24 Thread Scott Funkenhauser via lldb-dev
I've tried with LLVM 4, 7 and 8. They all fail to evaluate 'sizeof(foo)'. I'm also building with '-g' which might be why 'sizeof(foo)' succeeds for me, but fails for you. On Tue, Jul 23, 2019 at 9:07 PM Jim Ingham wrote: > Interesting... What lldb & clang were you using? With current TOT clan

Re: [lldb-dev] Evaluate expression for template class

2019-07-24 Thread Jim Ingham via lldb-dev
> On Jul 24, 2019, at 7:23 AM, Scott Funkenhauser > wrote: > > I've tried with LLVM 4, 7 and 8. They all fail to evaluate 'sizeof(foo)'. > The fundamental problem is that DWARF doesn't represent templates per se. It only represents template instantiations. So there's nothing in the debug