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

2016-09-13 Thread Lei Kong via lldb-dev
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 get current process? From: Enrico Granata Sent: Tuesd

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

2016-09-13 Thread Ted Woodward via lldb-dev
I just built lldb on Ubuntu 12 with Python 3.5.1. I needed to set python includes, python library and python executable in cmake. I found a problem with the tests - most ran fine, but I got errors with tests that tried to use pexpect, like TestConvenienceVariables.py. File "/local/scratch/ted

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

2016-09-13 Thread Chris Bieneman via lldb-dev
> On Sep 10, 2016, at 12:11 PM, René J.V. Bertin via lldb-dev > wrote: > > On Saturday September 10 2016 17:26:26 Michał Górny wrote: > > Re: MIUtilParse: I'm building the 3.9.0 release so no worries that the class > has been added back supposing it was removed *after* the release. > >>> Agr

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

2016-09-13 Thread Enrico Granata via lldb-dev
> On Sep 13, 2016, at 10:02 AM, Lei Kong via lldb-dev > wrote: > > I wrote a lldb type summary provider for wstring with 16bit wchar on Ubuntu > 16.04. > > Things work fine if I manually do the following in lldb: > > (lldb) script import mytypes > (lldb) type summary add -F mytypes.wstring_S

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

2016-09-13 Thread Lei Kong via lldb-dev
I wrote a lldb type summary provider for wstring with 16bit wchar on Ubuntu 16.04.Things work fine if I manually do the following in lldb:(lldb) script import mytypes (lldb) type summary add -F mytypes.wstring_SummaryProvider "std::__1::wstring" I tried to make things easier with auto-loading by

[lldb-dev] [Bug 26363] lldb 3.8.0.rc1 fails to build out of llvm tree

2016-09-13 Thread via lldb-dev
https://llvm.org/bugs/show_bug.cgi?id=26363 lab...@google.com changed: What|Removed |Added Status|NEW |RESOLVED CC|