Re: [lldb-dev] Querying build configuration of (lib)lldb from tests.

2018-02-15 Thread Pavel Labath via lldb-dev
I've created a patch implementing this in . Let me know what you think of it (particularly of the parts that will become the "stable API"). On 14 February 2018 at 18:43, Greg Clayton wrote: > I second Jim's idea for a static function on

Re: [lldb-dev] Querying build configuration of (lib)lldb from tests.

2018-02-14 Thread Greg Clayton via lldb-dev
I second Jim's idea for a static function on SBDebugger that returns a SBStructuredData > On Feb 14, 2018, at 10:31 AM, Jim Ingham via lldb-dev > wrote: > > The idea of having a static function in SBDebugger that returns lldb > configuration information seems good to

Re: [lldb-dev] Querying build configuration of (lib)lldb from tests.

2018-02-14 Thread Jim Ingham via lldb-dev
The idea of having a static function in SBDebugger that returns lldb configuration information seems good to me. Having the API return an SBStructuredData with the full configuration information seems like a pretty future-proof way to do this. I can't see that this data will get sufficiently