[Lldb-commits] [PATCH] D45348: Don't return error for settings set .experimental. settings that are absent

2018-04-06 Thread Jason Molenda via Phabricator via lldb-commits
jasonmolenda updated this revision to Diff 141473. jasonmolenda added a comment. rewrote the test cases in terms of self.expect. Haven't looked at being totally correct with flagging paths with .experimental. as never-errored. https://reviews.llvm.org/D45348 Files:

Re: [Lldb-commits] [PATCH] D45170: Cleanup DWARFCompileUnit and DWARFUnit in preparation for adding DWARFTypeUnit

2018-04-06 Thread Greg Clayton via lldb-commits
> On Apr 6, 2018, at 2:29 PM, Jan Kratochvil wrote: > > On Fri, 06 Apr 2018 22:52:05 +0200, Greg Clayton wrote: >> Switching over to the LLVM parser will require some detailed work and will >> take some time. > > So should I continue pushing the DWZ patchset even

Re: [Lldb-commits] [PATCH] D45170: Cleanup DWARFCompileUnit and DWARFUnit in preparation for adding DWARFTypeUnit

2018-04-06 Thread via lldb-commits
> -Original Message- > From: llvm-commits [mailto:llvm-commits-boun...@lists.llvm.org] On Behalf > Of Jan Kratochvil via llvm-commits > Sent: Friday, April 06, 2018 5:29 PM > To: Greg Clayton > Cc: reviews+d45170+public+e75ed5903a857...@reviews.llvm.org; Jason > Molenda;

Re: [Lldb-commits] [PATCH] D45348: Don't return error for settings set .experimental. settings that are absent

2018-04-06 Thread Jason Molenda via lldb-commits
> On Apr 6, 2018, at 2:07 AM, Pavel Labath via Phabricator > wrote: > > labath added inline comments. > > > > Comment at: packages/Python/lldbsuite/test/settings/TestSettings.py:544-545 > +# the actual name and via .experimental. > +

Re: [Lldb-commits] [PATCH] D45170: Cleanup DWARFCompileUnit and DWARFUnit in preparation for adding DWARFTypeUnit

2018-04-06 Thread Adrian Prantl via lldb-commits
> On Apr 6, 2018, at 1:52 PM, Greg Clayton wrote: > > > >> On Apr 6, 2018, at 10:32 AM, Jan Kratochvil >> wrote: >> >> On Fri, 06 Apr 2018 18:58:27 +0200, Davide Italiano wrote: >>> Yes, I definitely agree. It's clear this needs more

Re: [Lldb-commits] [PATCH] D45170: Cleanup DWARFCompileUnit and DWARFUnit in preparation for adding DWARFTypeUnit

2018-04-06 Thread Jan Kratochvil via lldb-commits
On Fri, 06 Apr 2018 22:52:05 +0200, Greg Clayton wrote: > Switching over to the LLVM parser will require some detailed work and will > take some time. So should I continue pushing the DWZ patchset even before the reuse of LLVM DWARFUnit happens? > That being said, I am confused as to why this

Re: [Lldb-commits] [PATCH] D45170: Cleanup DWARFCompileUnit and DWARFUnit in preparation for adding DWARFTypeUnit

2018-04-06 Thread Greg Clayton via lldb-commits
> On Apr 6, 2018, at 10:32 AM, Jan Kratochvil wrote: > > On Fri, 06 Apr 2018 18:58:27 +0200, Davide Italiano wrote: >> Yes, I definitely agree. It's clear this needs more discussion, so I >> don't think it's reasonable if we revert this for now and >> reconsider. >

Re: [Lldb-commits] [PATCH] D45170: Cleanup DWARFCompileUnit and DWARFUnit in preparation for adding DWARFTypeUnit

2018-04-06 Thread Davide Italiano via lldb-commits
On Fri, Apr 6, 2018 at 10:32 AM, Jan Kratochvil wrote: > Maybe LLDB should really reuse LLVM DWARFUnit first and I will implement DWZ > already on top of LLVM's DWARFUnit? I have no idea myself now how complex task > is the reuse of LLVM DWARFUnit. For the LLVM

Re: [Lldb-commits] [PATCH] D45170: Cleanup DWARFCompileUnit and DWARFUnit in preparation for adding DWARFTypeUnit

2018-04-06 Thread Jan Kratochvil via lldb-commits
On Fri, 06 Apr 2018 18:58:27 +0200, Davide Italiano wrote: > Yes, I definitely agree. It's clear this needs more discussion, so I > don't think it's reasonable if we revert this for now and > reconsider. I have reverted this https://reviews.llvm.org/D45170 by:

[Lldb-commits] [PATCH] D45170: Cleanup DWARFCompileUnit and DWARFUnit in preparation for adding DWARFTypeUnit

2018-04-06 Thread Jan Kratochvil via Phabricator via lldb-commits
jankratochvil added a comment. I have reverted this commit after approval by Davide Italiano and Adrian Prantl at: https://lists.llvm.org/pipermail/lldb-commits/Week-of-Mon-20180402/040176.html The revert: git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@329423

[Lldb-commits] [lldb] r329426 - [lldb-server] Set a more generous timeout when testing gdbremote.

2018-04-06 Thread Davide Italiano via lldb-commits
Author: davide Date: Fri Apr 6 10:17:20 2018 New Revision: 329426 URL: http://llvm.org/viewvc/llvm-project?rev=329426=rev Log: [lldb-server] Set a more generous timeout when testing gdbremote. One of our downstream bot is struggling under load, but this value should be enough for everyone.

[Lldb-commits] [lldb] r329423 - Revert "Cleanup DWARFCompileUnit and DWARFUnit in preparation for adding DWARFTypeUnit"

2018-04-06 Thread Jan Kratochvil via lldb-commits
Author: jankratochvil Date: Fri Apr 6 10:11:13 2018 New Revision: 329423 URL: http://llvm.org/viewvc/llvm-project?rev=329423=rev Log: Revert "Cleanup DWARFCompileUnit and DWARFUnit in preparation for adding DWARFTypeUnit" The reverted commit changed DWARFUnit from

Re: [Lldb-commits] [PATCH] D45170: Cleanup DWARFCompileUnit and DWARFUnit in preparation for adding DWARFTypeUnit

2018-04-06 Thread Davide Italiano via lldb-commits
On Fri, Apr 6, 2018 at 9:48 AM, Adrian Prantl wrote: > > >> On Apr 6, 2018, at 9:32 AM, Davide Italiano wrote: >> >> On Fri, Apr 6, 2018 at 1:02 AM, Jan Kratochvil via Phabricator >> wrote: >>> jankratochvil added a comment.

Re: [Lldb-commits] [PATCH] D45170: Cleanup DWARFCompileUnit and DWARFUnit in preparation for adding DWARFTypeUnit

2018-04-06 Thread Adrian Prantl via lldb-commits
> On Apr 6, 2018, at 9:32 AM, Davide Italiano wrote: > > On Fri, Apr 6, 2018 at 1:02 AM, Jan Kratochvil via Phabricator > wrote: >> jankratochvil added a comment. >> >> I disagree with this patch as `DWARFUnit` was a lightweight wrapper for

Re: [Lldb-commits] [PATCH] D45170: Cleanup DWARFCompileUnit and DWARFUnit in preparation for adding DWARFTypeUnit

2018-04-06 Thread Davide Italiano via lldb-commits
On Fri, Apr 6, 2018 at 1:02 AM, Jan Kratochvil via Phabricator wrote: > jankratochvil added a comment. > > I disagree with this patch as `DWARFUnit` was a lightweight wrapper for > `DWARFPartialUnit`. Now I will have to create some new lightweight > superclass like

[Lldb-commits] [PATCH] D45348: Don't return error for settings set .experimental. settings that are absent

2018-04-06 Thread Pavel Labath via Phabricator via lldb-commits
labath added inline comments. Comment at: packages/Python/lldbsuite/test/settings/TestSettings.py:544-545 +# the actual name and via .experimental. +cmdinterp.HandleCommand("settings set target.arg0 first-value", result) +

[Lldb-commits] [PATCH] D45332: [LIT] Add new LLDB test format

2018-04-06 Thread Pavel Labath via Phabricator via lldb-commits
labath added a comment. In https://reviews.llvm.org/D45332#1058976, @JDevlieghere wrote: > In https://reviews.llvm.org/D45332#1058970, @zturner wrote: > > > I don't think `sys.path` is set up correctly to be able to find the > > lldbtest package from the `lldb/lit` folder. > > > > These things

[Lldb-commits] [PATCH] D45170: Cleanup DWARFCompileUnit and DWARFUnit in preparation for adding DWARFTypeUnit

2018-04-06 Thread Jan Kratochvil via Phabricator via lldb-commits
jankratochvil added a comment. I disagree with this patch as `DWARFUnit` was a lightweight wrapper for `DWARFPartialUnit`. Now I will have to create some new lightweight superclass like `DWARFAbstractUnit`. My patch prepared it for: DWARFUnit->DWARFCompileUnit DWARFUnit->DWARFPartialUnit