[lldb-dev] LLDB tests unable to find 'lldb-mi' on Windows

2017-09-22 Thread Carlos Alberto Enciso via lldb-dev
Hi, I been trying to run the LLDB test suite on Windows (check-lldb). The LLDB used was build with VS2015 and ninja. When I try to run an specific test, using the commands: cd D:\LLVM\llvm\tools\lldb\test python dotest.py --executable "D:\LLVM\build-ninja-lldb\bin\lldb.exe" -p TestInlineSteppin

Re: [lldb-dev] lldb_private::RegisterContext vs lldb_private::RegisterInfoInterface

2017-09-22 Thread Ramana via lldb-dev
On Thu, Sep 21, 2017 at 8:40 PM, Greg Clayton wrote: > >> On Sep 21, 2017, at 5:15 AM, Ramana wrote: >> >> Sorry, I could not respond yesterday as I was of out of office. >> >>> Interesting. There are two ways to accomplish this: >>> 1 - Treat the CPU as one target and the GPU as another. >>> 2 -

Re: [lldb-dev] lldb_private::RegisterContext vs lldb_private::RegisterInfoInterface

2017-09-22 Thread Ramana via lldb-dev
If I may ask, among the options that Greg had mentioned in the earlier replies, which was the approach you have chosen? > We've done something similar in-house running on a Snapdragon with > an ARM and a Hexagon DSP. We use Android Studio to debug an app on > the ARM that sends work down to the He

Re: [lldb-dev] lldb_private::RegisterContext vs lldb_private::RegisterInfoInterface

2017-09-22 Thread Ted Woodward via lldb-dev
We treat them as 2 separate targets. We're actually running 2 separate lldb instances - one in Android Studio, and 1 in a shell on Hexagon Linux. Android Studio is running on the host (x86 Linux or Windows PC). We have an adb shell open to android on the ARM, and from there ssh to Linux on the H

Re: [lldb-dev] Prologue instructions having line information

2017-09-22 Thread Chris Quenelle via lldb-dev
> On Sep 14, 2017, at 3:32 PM, Jim Ingham wrote: > > This is supported (admittedly a little awkwardly) in DWARF with the > DW_TAG_inline_subroutine DIE's in the debug_info section of the DWARF. They > can expresses the nesting fully. > Sorry for the delay in responding. For now, I don’t

Re: [lldb-dev] Prologue instructions having line information

2017-09-22 Thread Robinson, Paul via lldb-dev
> -Original Message- > From: lldb-dev [mailto:lldb-dev-boun...@lists.llvm.org] On Behalf Of Chris > Quenelle via lldb-dev > Sent: Friday, September 22, 2017 4:03 PM > To: Jim Ingham > Cc: LLDB > Subject: Re: [lldb-dev] Prologue instructions having line information > > > > On Sep 14, 201

Re: [lldb-dev] Prologue instructions having line information

2017-09-22 Thread Chris Quenelle via lldb-dev
> On Sep 22, 2017, at 4:18 PM, Robinson, Paul wrote: > > For contiguous ranges described by low_pc/hi_pc attribute > pairs, the hi_pc can be a constant for the length, so you save > a little space and a relocation. I think that’s in DWARF 4. > > DWARF 5 redid the ranges section, to do a lot mo