Re: [lldb-dev] Making changes to the SB API

2018-06-08 Thread Greg Clayton via lldb-dev
> On Jun 8, 2018, at 12:54 PM, Leonard Mosescu via lldb-dev > wrote: > > What is the governing philosophy around making changes to the SB API? The "SB > API Coding Rules " > page establishes the practices on how to avoid introducing accidental

Re: [lldb-dev] Making changes to the SB API

2018-06-08 Thread Zachary Turner via lldb-dev
For better or worse you need to make a separate function. An alternative idea that has been floated is to start making a version 2 SB API and then eventually deprecate the current API, but probably due to the amount of work involved and the cost/benefit ratio, nobody's ever really taken point on

[lldb-dev] Making changes to the SB API

2018-06-08 Thread Leonard Mosescu via lldb-dev
What is the governing philosophy around making changes to the SB API? The "SB API Coding Rules " page establishes the practices on how to avoid introducing accidental incompatibility, but what about the cases where there's a case for intentionally

Re: [lldb-dev] LLDB fails to load C++ Plugin (sharedlib) - error: this file does not represent a loadable dylib

2018-06-08 Thread Greg Clayton via lldb-dev
Comments inlined below. > On Jun 8, 2018, at 2:52 AM, Bewoayia Kebianyor via lldb-dev > wrote: > > Hello Everyone, > > I started looking into the LLDB with the intention of adding custom commands > for my SW debugging purpose. For a better Understanding let me explain what I > intend to

Re: [lldb-dev] LLDB fails to load C++ Plugin (sharedlib) - error: this file does not represent a loadable dylib

2018-06-08 Thread Ted Woodward via lldb-dev
Also try running ldd /home/bkebianyor/eclipse-workspace/Model_LLDB_Debugger/Debug/libModel_LLDB_Debugger.so That will list dependencies that the loader can and cannot resolve. A possible alternative to a plugin could be to use "breakpoint set -p", which does a regular expression match on the

Re: [lldb-dev] LLDB fails to load C++ Plugin (sharedlib) - error: this file does not represent a loadable dylib

2018-06-08 Thread Pavel Labath via lldb-dev
I would expect the issue is that dlopen fails to locate the dependent libraries of your plugin. Can you lookup the actual dlopen call which opens your library and see what is the exact error it fails with? On Fri, 8 Jun 2018 at 10:52, Bewoayia Kebianyor via lldb-dev wrote: > > Hello Everyone, > >

[lldb-dev] LLDB fails to load C++ Plugin (sharedlib) - error: this file does not represent a loadable dylib

2018-06-08 Thread Bewoayia Kebianyor via lldb-dev
Hello Everyone, I started looking into the LLDB with the intention of adding custom commands for my SW debugging purpose. For a better Understanding let me explain what I intend to do. I have an source file generated automatically from a Model with certain anotations added as comments in the

Re: [lldb-dev] [llvm-dev] [7.0.0 Release] Schedule proposal

2018-06-08 Thread Hans Wennborg via lldb-dev
Yes, I expect that to have happened well before this process starts. On Fri, Jun 8, 2018 at 5:34 AM, Somchai Smythe wrote: > I think you need to get 6.0.1 out the door first > > On 6/7/18, Hans Wennborg via llvm-dev wrote: >> Hello everyone, >> >> There's plenty of time before the release