Re: [lldb-dev] [OS X]: building lldb with cmake

2016-09-14 Thread René J . V . Bertin via lldb-dev
On Tuesday September 13 2016 11:09:11 Chris Bieneman wrote: >> - fix finding CheckAtomic.cmake (or just install it with LLVM) > >CheckAtomic is installed with LLVM on trunk, and will be this way in future >releases. Good, thanks for confirming that the tentative solution I adopted in my 3.9.0 p

Re: [lldb-dev] Python3 compatibility for the API

2016-09-14 Thread Pavel Labath via lldb-dev
Sounds great, I am glad to hear python3 is working on linux as well. As for pexpect, could we just make sure our own copy of pexpect is not on the path in this case, and have the user install a python3-compatible version via usual means (apt-get install python3-pexpect, in case of ubuntu). pl On

Re: [lldb-dev] Help with Xcode crash on lldb_private::(anonymous namespace)::parse_builtin_type

2016-09-14 Thread Greg Clayton via lldb-dev
So any string that will be demangled by our internal demangler must start with "_Z". In the shared library or main application's executable mach-o file, the mangled names will contain an extra leading "_". We strip off this extra leading _ and will end up with a string of "_Z". So your strin

Re: [lldb-dev] lldb type summary provider - SBProcess is invalid

2016-09-14 Thread Greg Clayton via lldb-dev
> On Sep 13, 2016, at 9:50 PM, Lei Kong via lldb-dev > wrote: > > Thanks! > SBValue.process works! > > I have another script that I run manually to search process memory for > certain patterns, not a type summary provider, there is no SBValue passed to > my script, in such a case, how do I

Re: [lldb-dev] lldb type summary provider - SBProcess is invalid

2016-09-14 Thread Lei Kong via lldb-dev
Does the following qualify as "interactive usage"? It seems using "process" works in myfile.func(), or I was just lucky? Thanks. (lldb) script myfile.func(args) > Subject: Re: [lldb-dev] lldb type summary provider - SBProcess is invalid > From: gclay...@apple.com > Date: Wed, 14 Sep 2016 09:3