[lldb-dev] LLVM-C

2018-06-04 Thread Giannis Zamanis via lldb-dev
Hello, I am writing a compiler using llvm-c api and i want to have variable-length arrays as arguments in functions.I have tried using zero-sized type array as the typical parameter in the function definition, but when i call the function with a normal-sized array as argument it throws error due

Re: [lldb-dev] LLDB Process Attach Failed When Waiting

2018-06-04 Thread Ryan Lovelett via lldb-dev
So I've found a capability on Linux to be notified about new processes. I have an example of listening for these new processes running on my machine now [1] and I can see when my desired user process spawns. Though documentation on the API is scarce. It also requires that the executable or user hav

[lldb-dev] June LLVM bay-area social is this Thursday!

2018-06-04 Thread George Burgess IV via lldb-dev
We'll be at Tied House as usual, starting on Thursday the 7th at 7pm! If you can, help us plan and RSVP here: https://www.meetup.com/LLVM-Bay-Area-Social/events/kncsjlyxjbkb/ See everyone there! (Aside: please note that we *do* plan on having a social at the regular time next month, despite it f

Re: [lldb-dev] LLDB Process Attach Failed When Waiting

2018-06-04 Thread Greg Clayton via lldb-dev
I will be too busy this week to get to this, so please do have a stab at it. Basically the flow that debug server does is: 1 - get a list of all processes whose basename matches and remember those pids so we don't try to attach to them since we are waiting for a new process to show up 2 - poll t

[lldb-dev] [Bug 37683] New: Register commands fail to retrieve all registers on Windows

2018-06-04 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=37683 Bug ID: 37683 Summary: Register commands fail to retrieve all registers on Windows Product: lldb Version: 6.0 Hardware: PC OS: Windows NT Status: NEW

Re: [lldb-dev] LLDB Process Attach Failed When Waiting

2018-06-04 Thread Ryan Lovelett via lldb-dev
Greg, Is there anything I can do to help you implement or test this feature? Obviously I'm willing to roll-up my sleeves and work on this myself too if you've become more busy than you expected. That happens to us all and I completely understand. Not being able to debug in this manner is blocking