Re: [Lldb-commits] [lldb-dev] [lldb] r253317 - Add Pythonic language binding wrapper generation script.

2015-11-18 Thread Todd Fiala via lldb-commits
Checking in the static bindings is no different than projects checking in autoconf config baked scripts so that the vast majority of people don't need to run autoconf just to get a setup that rarely changes. There is precedent for this going back a long way on open source projects. I'm backing

Re: [Lldb-commits] [lldb] r253478 - Switched cmake build from using buildSwigWrapperClases.py to the cleaned up version.

2015-11-18 Thread Zachary Turner via lldb-commits
Yea, this is the right one. Thanks! I haven't tested this yet, but I will later. (Our buildbot currently builds with LLDB_DISABLE_PYTHON=1, so if there is a problem with this, the Windows buildbot wouldn't pick it up, although the others probably would) On Wed, Nov 18, 2015 at 10:14 AM Todd

[Lldb-commits] [lldb] r253487 - Fix some issues with swig & string conversion.

2015-11-18 Thread Zachary Turner via lldb-commits
Author: zturner Date: Wed Nov 18 12:40:16 2015 New Revision: 253487 URL: http://llvm.org/viewvc/llvm-project?rev=253487=rev Log: Fix some issues with swig & string conversion. This patch fixes two issues: 1) Popen needs to be used with universal_newlines=True by default. This elicits

Re: [Lldb-commits] [lldb-dev] [lldb] r253317 - Add Pythonic language binding wrapper generation script.

2015-11-18 Thread Todd Fiala via lldb-commits
> On OS X, it is a pain to get unless you install homebrew/macports/fink. On Linux, you'll need to do an apt-get or yum install. And I should add that installing home-brew (the most common way of picking up extra goodies, as I know I do it on home machines) is also one of the most common ways to

Re: [Lldb-commits] [lldb] r253478 - Switched cmake build from using buildSwigWrapperClases.py to the cleaned up version.

2015-11-18 Thread Todd Fiala via lldb-commits
If I have that right, we're fine. The prepare_bindings.py still calls modify-python-lldb.py. scripts/prepare_bindings.py is meant to be the same as createSwigBindings.py, and scripts/python/prepare_binding_Python.py is meant to be the same as buildSwigPython.py. Once I make sure that I haven't

[Lldb-commits] Some buildbot statistics for the last week

2015-11-18 Thread Galina Kistanova via lldb-commits
Hello everyone, Here are some buildbot statistics you may found interesting. I will be adding more statistics. My goal is to publish metrics to help with keeping the buildbot infrastructure healthy and improving it. All the numbers are for the week of 11/8/2015 - 11/14/2015. Thanks Galina

Re: [Lldb-commits] [lldb] r253478 - Switched cmake build from using buildSwigWrapperClases.py to the cleaned up version.

2015-11-18 Thread Todd Fiala via lldb-commits
Ah okay. Hey is the "use the python 3.5 from python.org" path on Windows (including tests) try-able at this time? -Todd On Wed, Nov 18, 2015 at 10:37 AM, Zachary Turner wrote: > Yea, this is the right one. Thanks! I haven't tested this yet, but I > will later. (Our

Re: [Lldb-commits] [PATCH] D14765: Support unix-abstract-connect scheme as platform url in lldb testsuite

2015-11-18 Thread Ying Chen via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL253488: Support unix-abstract-connect scheme as platform url in lldb testsuite (authored by chying). Changed prior to commit: http://reviews.llvm.org/D14765?vs=40469=40535#toc Repository: rL LLVM

Re: [Lldb-commits] [lldb-dev] [lldb] r253317 - Add Pythonic language binding wrapper generation script.

2015-11-18 Thread Enrico Granata via lldb-commits
> On Nov 18, 2015, at 10:34 AM, Zachary Turner via lldb-dev > wrote: > > > > On Wed, Nov 18, 2015 at 10:00 AM Todd Fiala > wrote: > Checking in the static bindings is no different than projects checking in >

Re: [Lldb-commits] [lldb] r253478 - Switched cmake build from using buildSwigWrapperClases.py to the cleaned up version.

2015-11-18 Thread Todd Fiala via lldb-commits
Double checking now, if it happens in that lldb-modify script, we're covered. Otherwise I need to adjust... (the bulk of the rewrite happened on Friday/Sunday). On Wed, Nov 18, 2015 at 9:47 AM, Zachary Turner wrote: > Just to be sure, did you catch the change I made to the

Re: [Lldb-commits] [PATCH] D14765: Support unix-abstract-connect scheme as platform url in lldb testsuite

2015-11-18 Thread Ying Chen via lldb-commits
chying marked an inline comment as done. chying added a comment. http://reviews.llvm.org/D14765 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D14765: Support unix-abstract-connect scheme as platform url in lldb testsuite

2015-11-18 Thread Oleksiy Vyalov via lldb-commits
ovyalov accepted this revision. ovyalov added a comment. This revision is now accepted and ready to land. LGTM Comment at: packages/Python/lldbsuite/test/lldbtest.py:464 @@ -463,3 +463,3 @@ parsed_url = urlparse.urlparse(lldb.platform_url) -if parsed_url.scheme

[Lldb-commits] [lldb] r253488 - Support unix-abstract-connect scheme as platform url in lldb testsuite

2015-11-18 Thread Ying Chen via lldb-commits
Author: chying Date: Wed Nov 18 13:03:20 2015 New Revision: 253488 URL: http://llvm.org/viewvc/llvm-project?rev=253488=rev Log: Support unix-abstract-connect scheme as platform url in lldb testsuite Reviewers: ovyalov Subscribers: lldb-commits Differential Revision:

[Lldb-commits] [lldb] r253491 - Remove the scripts/Python/build-swig-Python.sh script.

2015-11-18 Thread Todd Fiala via lldb-commits
Author: tfiala Date: Wed Nov 18 13:37:51 2015 New Revision: 253491 URL: http://llvm.org/viewvc/llvm-project?rev=253491=rev Log: Remove the scripts/Python/build-swig-Python.sh script. This logically goes with my previous commit. Removed: lldb/trunk/scripts/Python/build-swig-Python.sh

Re: [Lldb-commits] [lldb] r253478 - Switched cmake build from using buildSwigWrapperClases.py to the cleaned up version.

2015-11-18 Thread Todd Fiala via lldb-commits
That's great, Zachary! Cool. Makes it easier to make sure I'm not breaking stuff. On Wed, Nov 18, 2015 at 11:07 AM, Zachary Turner wrote: > yea. Pass -DPYTHON_HOME=C:\Python35 to CMake and you're good to go. > > I've still got about 20-30 tests failing and/or timing out,

Re: [Lldb-commits] [lldb] r253478 - Switched cmake build from using buildSwigWrapperClases.py to the cleaned up version.

2015-11-18 Thread Todd Fiala via lldb-commits
And that works with VS 2015, and VS 2015 only, right? On Wed, Nov 18, 2015 at 11:41 AM, Todd Fiala wrote: > That's great, Zachary! > > Cool. Makes it easier to make sure I'm not breaking stuff. > > On Wed, Nov 18, 2015 at 11:07 AM, Zachary Turner >

[Lldb-commits] [lldb] r253493 - Reapply r253423 and r253424 (which cleanup the data formatters iteration model, as well as the type X list commands), along with a change by Zachary Turner to bypass a

2015-11-18 Thread Enrico Granata via lldb-commits
Author: enrico Date: Wed Nov 18 13:42:44 2015 New Revision: 253493 URL: http://llvm.org/viewvc/llvm-project?rev=253493=rev Log: Reapply r253423 and r253424 (which cleanup the data formatters iteration model, as well as the type X list commands), along with a change by Zachary Turner to bypass a

Re: [Lldb-commits] [lldb] r253478 - Switched cmake build from using buildSwigWrapperClases.py to the cleaned up version.

2015-11-18 Thread Zachary Turner via lldb-commits
yea. Pass -DPYTHON_HOME=C:\Python35 to CMake and you're good to go. I've still got about 20-30 tests failing and/or timing out, but I'm getting close. On Wed, Nov 18, 2015 at 10:58 AM Todd Fiala wrote: > Ah okay. > > Hey is the "use the python 3.5 from python.org" path

[Lldb-commits] [lldb] r253490 - remove defunct scripts/build-swig-wrapper-classes.sh; switch autoconf build to prepare_bindings.py.

2015-11-18 Thread Todd Fiala via lldb-commits
Author: tfiala Date: Wed Nov 18 13:34:03 2015 New Revision: 253490 URL: http://llvm.org/viewvc/llvm-project?rev=253490=rev Log: remove defunct scripts/build-swig-wrapper-classes.sh; switch autoconf build to prepare_bindings.py. Xcode moved off of build-swig-wrapper-classes.sh earlier this week.

[Lldb-commits] [PATCH] D14783: Remove superseded buildSwigWrapperClasses.py and buildSwigPython.py classes

2015-11-18 Thread Todd Fiala via lldb-commits
tfiala created this revision. tfiala added a reviewer: zturner. tfiala added a subscriber: lldb-commits. These classes have been cleaned up in scripts/prepare_bindings.py and scripts/Python/prepare_binding_Python.py. Both Xcode and cmake builds have been converted over. Waiting to make sure

Re: [Lldb-commits] [lldb] r253478 - Switched cmake build from using buildSwigWrapperClases.py to the cleaned up version.

2015-11-18 Thread Zachary Turner via lldb-commits
Yea, VS 2015 only. On Wed, Nov 18, 2015 at 11:42 AM Todd Fiala wrote: > And that works with VS 2015, and VS 2015 only, right? > > On Wed, Nov 18, 2015 at 11:41 AM, Todd Fiala wrote: > >> That's great, Zachary! >> >> Cool. Makes it easier to make

Re: [Lldb-commits] [lldb-dev] [lldb] r253317 - Add Pythonic language binding wrapper generation script.

2015-11-18 Thread Zachary Turner via lldb-commits
On Wed, Nov 18, 2015 at 11:15 AM Todd Fiala wrote: > > My intent here is to only provide the --allow-static-binding option on > cmake if it is explicitly turned on. And it will be off by default. > I know, but I don't really like adding options that nobody is going to use,

Re: [Lldb-commits] [lldb] r253478 - Switched cmake build from using buildSwigWrapperClases.py to the cleaned up version.

2015-11-18 Thread Zachary Turner via lldb-commits
By the way, it would be great if we could kill this modify-lldb-python.py. It seems like a total hackjob, and there's nothing it does that can't be done better by wrapping the lldb module instead of modifying it. For example, it goes through and injects a bunch of methods to classes in the lldb

Re: [Lldb-commits] [lldb-dev] [lldb] r253317 - Add Pythonic language binding wrapper generation script.

2015-11-18 Thread Todd Fiala via lldb-commits
On Wed, Nov 18, 2015 at 10:34 AM, Zachary Turner wrote: > > > On Wed, Nov 18, 2015 at 10:00 AM Todd Fiala wrote: > >> Checking in the static bindings is no different than projects checking in >> autoconf config baked scripts so that the vast majority of

Re: [Lldb-commits] [lldb-dev] [lldb] r253317 - Add Pythonic language binding wrapper generation script.

2015-11-18 Thread Zachary Turner via lldb-commits
On Wed, Nov 18, 2015 at 11:15 AM Todd Fiala wrote: > On Wed, Nov 18, 2015 at 10:34 AM, Zachary Turner > wrote: > >> Because even if it isn't perfect for everyone, it works for everyone. >> > > Unless you can't get swig on your system in a way that

Re: [Lldb-commits] [lldb] r253478 - Switched cmake build from using buildSwigWrapperClases.py to the cleaned up version.

2015-11-18 Thread Todd Fiala via lldb-commits
On Wed, Nov 18, 2015 at 11:55 AM, Zachary Turner wrote: > By the way, it would be great if we could kill this modify-lldb-python.py. > I'm totally up for that. > It seems like a total hackjob, and there's nothing it does that can't be > done better by wrapping the lldb

Re: [Lldb-commits] [lldb-dev] [lldb] r253317 - Add Pythonic language binding wrapper generation script.

2015-11-18 Thread Todd Fiala via lldb-commits
On Wed, Nov 18, 2015 at 12:45 PM, Zachary Turner wrote: > > > On Wed, Nov 18, 2015 at 11:15 AM Todd Fiala wrote: > >> On Wed, Nov 18, 2015 at 10:34 AM, Zachary Turner >> wrote: >> >>> Because even if it isn't perfect for everyone,

Re: [Lldb-commits] [lldb-dev] [lldb] r253317 - Add Pythonic language binding wrapper generation script.

2015-11-18 Thread Todd Fiala via lldb-commits
On Wed, Nov 18, 2015 at 12:53 PM, Todd Fiala wrote: > > > On Wed, Nov 18, 2015 at 12:45 PM, Zachary Turner > wrote: > >> >> >> On Wed, Nov 18, 2015 at 11:15 AM Todd Fiala wrote: >> >>> On Wed, Nov 18, 2015 at 10:34 AM, Zachary

[Lldb-commits] [PATCH] D14784: [TestExitDuringStep] Adjust after a recent type map change.

2015-11-18 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added a reviewer: zturner. sivachandra added a subscriber: lldb-commits. http://reviews.llvm.org/D14784 Files: packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/TestExitDuringStep.py Index:

Re: [Lldb-commits] [lldb] r253478 - Switched cmake build from using buildSwigWrapperClases.py to the cleaned up version.

2015-11-18 Thread Todd Fiala via lldb-commits
BTW if you cook up something on the swig-as-a-service end that ends up working to eliminate the need for swig, I'll be happy to remove the static binding support at that point. -Todd On Wed, Nov 18, 2015 at 12:45 PM, Todd Fiala wrote: > > On Wed, Nov 18, 2015 at 11:55 AM,

Re: [Lldb-commits] [lldb-dev] [lldb] r253317 - Add Pythonic language binding wrapper generation script.

2015-11-18 Thread Zachary Turner via lldb-commits
(This is originally from a thread on lldb-commits, but it seems more appropriate here, so I'm responding here. On Wed, Nov 18, 2015 at 12:47 PM Todd Fiala wrote: > BTW if you cook up something on the swig-as-a-service end that ends up > working to eliminate the need for

Re: [Lldb-commits] [lldb-dev] [lldb] r253317 - Add Pythonic language binding wrapper generation script.

2015-11-18 Thread Todd Fiala via lldb-commits
On Wed, Nov 18, 2015 at 12:51 PM, Zachary Turner wrote: > (This is originally from a thread on lldb-commits, but it seems more > appropriate here, so I'm responding here. > > On Wed, Nov 18, 2015 at 12:47 PM Todd Fiala wrote: > >> BTW if you cook up

Re: [Lldb-commits] [PATCH] D14784: [TestExitDuringStep] Adjust after a recent type map change.

2015-11-18 Thread Zachary Turner via lldb-commits
zturner accepted this revision. zturner added a comment. This revision is now accepted and ready to land. lgtm, probably don't need to ask for review on this kind of patch :) http://reviews.llvm.org/D14784 ___ lldb-commits mailing list

Re: [Lldb-commits] [PATCH] D14633: [LLDB][MIPS] Clear bug 25194 - LLDB-Server Assertion raised when single stepping on MIPS

2015-11-18 Thread Sagar Thakur via lldb-commits
sagar added a comment. Hi, @tberghammer : For both mips32 and mips64 big endian 'T' packet response contains the register values in target byte order only. But for mips32 big endian when we set the value of the register in RegisterValue using RegisterValue::SetUInt() the upper half of the

[Lldb-commits] [lldb] r253455 - Revert 2 commits breaking the MSVC build

2015-11-18 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Wed Nov 18 06:11:34 2015 New Revision: 253455 URL: http://llvm.org/viewvc/llvm-project?rev=253455=rev Log: Revert 2 commits breaking the MSVC build Revert "Remove a few vestigial typedefs from the old world" This reverts commit 05872cda2a00fbd988c4fc761b1f87fe9edce224.

Re: [Lldb-commits] [PATCH] D14493: [MIPS][LLDB]Fix TestBreakpointCondition.py for MIPS

2015-11-18 Thread Sagar Thakur via lldb-commits
sagar closed this revision. sagar added a comment. Committed in r253444 on behalf of @nitesh.jain Repository: rL LLVM http://reviews.llvm.org/D14493 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

Re: [Lldb-commits] [PATCH] D14634: [LLDB][MIPS] Fix TestDisassembleBreakpoint.py for MIPS

2015-11-18 Thread Sagar Thakur via lldb-commits
sagar added a comment. Committed in r253445 on behalf of @nitesh.jain Repository: rL LLVM http://reviews.llvm.org/D14634 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [lldb-dev] [lldb] r253317 - Add Pythonic language binding wrapper generation script.

2015-11-18 Thread Pavel Labath via lldb-commits
On 18 November 2015 at 09:02, Zachary Turner via lldb-dev wrote: > On Tue, Nov 17, 2015 at 8:03 PM Todd Fiala wrote: >> >> Nothing concrete at the moment; however, it could be interesting to look >> at the clang community and see what could be done

Re: [Lldb-commits] [lldb] r253317 - Add Pythonic language binding wrapper generation script.

2015-11-18 Thread Zachary Turner via lldb-commits
On Tue, Nov 17, 2015 at 8:03 PM Todd Fiala wrote: > Nothing concrete at the moment; however, it could be interesting to look > at the clang community and see what could be done for llvm-based language > implementations. The angle that I think would be interesting would be

[Lldb-commits] [lldb] r253444 - [MIPS][LLDB]Fix TestBreakpointCondition.py for MIPS

2015-11-18 Thread Sagar Thakur via lldb-commits
Author: slthakur Date: Wed Nov 18 02:12:34 2015 New Revision: 253444 URL: http://llvm.org/viewvc/llvm-project?rev=253444=rev Log: [MIPS][LLDB]Fix TestBreakpointCondition.py for MIPS Patch by Nitesh Jain Summary: The self.getArchitecture() returns the architecture based on the value of -A flag

[Lldb-commits] [lldb] r253445 - [LLDB][MIPS] Fix TestDisassembleBreakpoint.py for MIPS

2015-11-18 Thread Sagar Thakur via lldb-commits
Author: slthakur Date: Wed Nov 18 02:18:03 2015 New Revision: 253445 URL: http://llvm.org/viewvc/llvm-project?rev=253445=rev Log: [LLDB][MIPS] Fix TestDisassembleBreakpoint.py for MIPS Patch by Nitesh Jain Summary: The break is opcode for breakpoint instruction. Subscribers: lldb-commits,

Re: [Lldb-commits] [lldb] r253317 - Add Pythonic language binding wrapper generation script.

2015-11-18 Thread Todd Fiala via lldb-commits
Usage of static bindings for the prepare_bindings.py script went in here: r253448. Only Xcode provides the flag to use it. The commit description indicates how it works in this incarnation. Essentially it only uses the static Python binding if and only if a swig isn't specified or cannot be

Re: [Lldb-commits] [PATCH] D13350: [lldb] Fix evaluation of qualified global variables

2015-11-18 Thread Eugene Leviant via lldb-commits
evgeny777 updated this revision to Diff 40497. evgeny777 added a comment. Hi folks! The clang patch has been landed. I've added test cases, so please look at the new patch. Thanks http://reviews.llvm.org/D13350 Files: packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespace.py

Re: [Lldb-commits] [PATCH] D14783: Remove superseded buildSwigWrapperClasses.py and buildSwigPython.py classes

2015-11-18 Thread Zachary Turner via lldb-commits
zturner accepted this revision. zturner added a comment. This revision is now accepted and ready to land. As long as with your new script these are no longer being called anywhere, should be safe to remove. http://reviews.llvm.org/D14783 ___

Re: [Lldb-commits] [PATCH] D14793: Enable saving of mini dumps with lldb process save-core.

2015-11-18 Thread Greg Clayton via lldb-commits
clayborg added a comment. Code correction and added that we should make sure the process is alive and stopped. Comment at: source/API/SBProcess.cpp:1433-1437 @@ +1432,7 @@ +{ +ProcessSP process_sp(GetSP()); +lldb::SBFileSpec core_file(file_name); +lldb::SBError

[Lldb-commits] [lldb] r253531 - Allow the language plugins a say in how the function name is rendered as part of frame formatting

2015-11-18 Thread Enrico Granata via lldb-commits
Author: enrico Date: Wed Nov 18 19:11:53 2015 New Revision: 253531 URL: http://llvm.org/viewvc/llvm-project?rev=253531=rev Log: Allow the language plugins a say in how the function name is rendered as part of frame formatting Modified: lldb/trunk/include/lldb/Target/Language.h

Re: [Lldb-commits] [PATCH] D14530: Plug-in PlatformNetBSD initializer and terminator

2015-11-18 Thread Kamil Rytarowski via lldb-commits
krytarowski added a comment. Are we ready to land it? Without this patch I cannot launch lldb. Repository: rL LLVM http://reviews.llvm.org/D14530 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

Re: [Lldb-commits] [lldb] r253531 - Allow the language plugins a say in how the function name is rendered as part of frame formatting

2015-11-18 Thread Zachary Turner via lldb-commits
Hi Enrico, have there been any tests exercising any of the language plugin stuff yet? Hard to follow every CL that goes in, so just trying to catch up. On Wed, Nov 18, 2015 at 5:14 PM Enrico Granata via lldb-commits < lldb-commits@lists.llvm.org> wrote: > Author: enrico > Date: Wed Nov 18

Re: [Lldb-commits] [PATCH] D14793: Enable saving of mini dumps with lldb process save-core.

2015-11-18 Thread Zachary Turner via lldb-commits
Fair enough. I figured it was worth asking about, but the rationale makes sense. On Wed, Nov 18, 2015 at 5:18 PM Jim Ingham wrote: > > > On Nov 18, 2015, at 4:31 PM, Zachary Turner via lldb-commits < > lldb-commits@lists.llvm.org> wrote: > > > > zturner added a reviewer:

Re: [Lldb-commits] [PATCH] D14793: Enable saving of mini dumps with lldb process save-core.

2015-11-18 Thread Zachary Turner via lldb-commits
zturner added a subscriber: zturner. zturner added a comment. Fair enough. I figured it was worth asking about, but the rationale makes sense. http://reviews.llvm.org/D14793 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [lldb] r253537 - Pass the ExecutionContext as well, since it is actually useful

2015-11-18 Thread Enrico Granata via lldb-commits
Author: enrico Date: Wed Nov 18 20:50:27 2015 New Revision: 253537 URL: http://llvm.org/viewvc/llvm-project?rev=253537=rev Log: Pass the ExecutionContext as well, since it is actually useful Modified: lldb/trunk/include/lldb/Target/Language.h lldb/trunk/source/Core/FormatEntity.cpp

Re: [Lldb-commits] [PATCH] D14793: Enable saving of mini dumps with lldb process save-core.

2015-11-18 Thread Zachary Turner via lldb-commits
zturner added inline comments. Comment at: source/API/SBProcess.cpp:1433-1437 @@ +1432,7 @@ +{ +ProcessSP process_sp(GetSP()); +lldb::SBFileSpec core_file(file_name); +lldb::SBError error; +error.SetError(PluginManager::SaveCore(process_sp, core_file.get())); +

Re: [Lldb-commits] [PATCH] D14793: Enable saving of mini dumps with lldb process save-core.

2015-11-18 Thread Jim Ingham via lldb-commits
> On Nov 18, 2015, at 4:31 PM, Zachary Turner via lldb-commits > wrote: > > zturner added a reviewer: clayborg. > zturner added a comment. > > +greg since this touches some SB stuff and the ObjectFile plugins. > > > > Comment at:

Re: [Lldb-commits] [PATCH] D14783: Remove superseded buildSwigWrapperClasses.py and buildSwigPython.py classes

2015-11-18 Thread Todd Fiala via lldb-commits
tfiala added a comment. Looks like with your change in r253501, we are okay to delete these? http://reviews.llvm.org/D14783 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D14783: Remove superseded buildSwigWrapperClasses.py and buildSwigPython.py classes

2015-11-18 Thread Todd Fiala via lldb-commits
tfiala added a comment. Okay, thanks. I'll grep the source base first to make sure I'm not missing anything else. http://reviews.llvm.org/D14783 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

Re: [Lldb-commits] [PATCH] D14790: cmake: add -DLLDB_ALLOW_STATIC_BINDINGS=1, defaults off

2015-11-18 Thread Zachary Turner via lldb-commits
zturner added a comment. So you can't install swig on your Linux machines either? I really can't wrap my head around why we need this. What is the problem with installing swig, given that we need to install other software already? The build instructions here

Re: [Lldb-commits] [PATCH] D14790: cmake: add -DLLDB_ALLOW_STATIC_BINDINGS=1, defaults off

2015-11-18 Thread Todd Fiala via lldb-commits
tfiala added a comment. Keep in mind this is an opt-in flag. No developers get the behavior unless they specifically ask for it. I'm adding it because I specifically need it. http://reviews.llvm.org/D14790 ___ lldb-commits mailing list

Re: [Lldb-commits] [PATCH] D14790: cmake: add -DLLDB_ALLOW_STATIC_BINDINGS=1, defaults off

2015-11-18 Thread Zachary Turner via lldb-commits
zturner accepted this revision. zturner added a comment. This revision is now accepted and ready to land. Anyway, just check it in. The content of this patch is not worth arguing about. What is worth arguing about, however, is that changes need to have some kind of reasonable justification.

Re: [Lldb-commits] [PATCH] D14783: Remove superseded buildSwigWrapperClasses.py and buildSwigPython.py classes

2015-11-18 Thread Todd Fiala via lldb-commits
tfiala added a comment. Aside from that one fix in the second patch, a grep for those two scripts came back clean on the source tree. http://reviews.llvm.org/D14783 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

Re: [Lldb-commits] [PATCH] D14790: cmake: add -DLLDB_ALLOW_STATIC_BINDINGS=1, defaults off

2015-11-18 Thread Todd Fiala via lldb-commits
tfiala added a comment. In http://reviews.llvm.org/D14790#292226, @zturner wrote: > So you can't install swig on your Linux machines either? > > I really can't wrap my head around why we need this. What is the problem > with installing swig, given that we need to install other software

Re: [Lldb-commits] [PATCH] D14718: Insert the SWIG version into LLDB's __init__.py

2015-11-18 Thread Todd Fiala via lldb-commits
tfiala added a comment. We can close this one out too, right? http://reviews.llvm.org/D14718 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D14790: cmake: add -DLLDB_ALLOW_STATIC_BINDINGS=1, defaults off

2015-11-18 Thread Zachary Turner via lldb-commits
zturner added a comment. It's not that I don't like it. I mean, it used to be, but it's a minor change. At this point it's about that I've repeatedly asked for some kind of reasonable explanation about why swig is a contentious dependency, and the most I've gotten is "things are about to

[Lldb-commits] [lldb] r253513 - Remove superseded buildSwigWrapperClasses.py and buildSwigPython.py classes

2015-11-18 Thread Todd Fiala via lldb-commits
Author: tfiala Date: Wed Nov 18 16:21:47 2015 New Revision: 253513 URL: http://llvm.org/viewvc/llvm-project?rev=253513=rev Log: Remove superseded buildSwigWrapperClasses.py and buildSwigPython.py classes This closes: http://reviews.llvm.org/D14783 Removed:

Re: [Lldb-commits] [PATCH] D14790: cmake: add -DLLDB_ALLOW_STATIC_BINDINGS=1, defaults off

2015-11-18 Thread Todd Fiala via lldb-commits
tfiala added a comment. > For now please leave an option that end user to disable Python. Otherwise > erasing it will be done downstream without benefit for the project. Nobody is talking about removing the option to disable python. The static binding binding option is ignored (i.e.

Re: [Lldb-commits] [PATCH] D14790: cmake: add -DLLDB_ALLOW_STATIC_BINDINGS=1, defaults off

2015-11-18 Thread Kamil Rytarowski via lldb-commits
krytarowski added a comment. I would reject this patch. http://reviews.llvm.org/D14790 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] r253538 - I like how PlatformAndroid/PlatformLinux log when their platforms

2015-11-18 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Wed Nov 18 21:15:37 2015 New Revision: 253538 URL: http://llvm.org/viewvc/llvm-project?rev=253538=rev Log: I like how PlatformAndroid/PlatformLinux log when their platforms try to CreateInstance, and log the results. I copied that for the Mac platforms. Modified:

Re: [Lldb-commits] [PATCH] D14790: cmake: add -DLLDB_ALLOW_STATIC_BINDINGS=1, defaults off

2015-11-18 Thread Zachary Turner via lldb-commits
zturner added a comment. In http://reviews.llvm.org/D14790#292493, @krytarowski wrote: > Not long ago we rejected dynamic dependency on `curses`(3), as a fall-back > for NetBSD (without `libpanel`(3) in the 7.0 release). Why doing the similar > thing with swig is fine? > > Why are we

Re: [Lldb-commits] [PATCH] D14790: cmake: add -DLLDB_ALLOW_STATIC_BINDINGS=1, defaults off

2015-11-18 Thread Zachary Turner via lldb-commits
zturner added a comment. So, this is the last thing I'm going to say on this thread. What I'm fighting for here is consistency. We seem to have the same goal (making LLDB easier to build for the casual developer) but a different understanding of how to go about accomplishing this. From your

Re: [Lldb-commits] [PATCH] D14790: cmake: add -DLLDB_ALLOW_STATIC_BINDINGS=1, defaults off

2015-11-18 Thread Kamil Rytarowski via lldb-commits
krytarowski added a comment. I dislike delegating jobs (or hiding problems) of CMake (assuming that autoconf/gmake is already dead) to external scripts like Python ones. In the goal, I plan to add LLDB in the NetBSD base (next to LLVM and Clang) where there is no Python at all. In FreeBSD

Re: [Lldb-commits] [PATCH] D14790: cmake: add -DLLDB_ALLOW_STATIC_BINDINGS=1, defaults off

2015-11-18 Thread Kamil Rytarowski via lldb-commits
krytarowski added a comment. Sure, I'm just giving general feedback. From a user perspective I want to get yes/no information whether I need swig or not, if so what version. If we allow Python, I don't see any reason to not allowing swig. if some version gives you problems (license, bad code

Re: [Lldb-commits] [PATCH] D14790: cmake: add -DLLDB_ALLOW_STATIC_BINDINGS=1, defaults off

2015-11-18 Thread Zachary Turner via lldb-commits
zturner added a comment. Kamil, the situation is a little complicated, please read the following threads for some context: http://lists.llvm.org/pipermail/lldb-dev/2015-November/008802.html http://lists.llvm.org/pipermail/lldb-dev/2015-November/008829.html

[Lldb-commits] [lldb] r253501 - Fix CMake dependency on lldb.py

2015-11-18 Thread Zachary Turner via lldb-commits
Author: zturner Date: Wed Nov 18 15:09:55 2015 New Revision: 253501 URL: http://llvm.org/viewvc/llvm-project?rev=253501=rev Log: Fix CMake dependency on lldb.py Modified: lldb/trunk/CMakeLists.txt Modified: lldb/trunk/CMakeLists.txt URL:

Re: [Lldb-commits] [lldb] r253478 - Switched cmake build from using buildSwigWrapperClases.py to the cleaned up version.

2015-11-18 Thread Zachary Turner via lldb-commits
Tested this on Windows, seems to work fine. r253501 has a minor fix that was causing a CMake warning, but overall everything works great. Happy to see progress on this front. On Wed, Nov 18, 2015 at 12:47 PM Todd Fiala wrote: > BTW if you cook up something on the

Re: [Lldb-commits] [lldb] r253501 - Fix CMake dependency on lldb.py

2015-11-18 Thread Todd Fiala via lldb-commits
I don't *think* that's right? (At least, not for Linux). It's not coming from the source dir. It gets generated into the binary directory. Or - maybe the Windows ones write the output into the source tree? Do we need to conditionalize the location of lldb.py based on the build? -Todd On

Re: [Lldb-commits] [lldb] r253478 - Switched cmake build from using buildSwigWrapperClases.py to the cleaned up version.

2015-11-18 Thread Todd Fiala via lldb-commits
Sure thing. I'll get the finish-bindings script taken care of in another pass after T-day week. On Wed, Nov 18, 2015 at 1:13 PM, Zachary Turner wrote: > Tested this on Windows, seems to work fine. r253501 has a minor fix that > was causing a CMake warning, but overall