Re: [Lldb-commits] [PATCH] D13667: cmake: provide flag that enables 'log enable --stack' to provide useful file/line info on POSIX systems

2015-10-14 Thread Pavel Labath via lldb-commits
labath added a comment. sounds reasonable http://reviews.llvm.org/D13667 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] r250280 - Mark TestBatchMode as flaky on linux

2015-10-14 Thread Pavel Labath via lldb-commits
Author: labath Date: Wed Oct 14 03:57:55 2015 New Revision: 250280 URL: http://llvm.org/viewvc/llvm-project?rev=250280&view=rev Log: Mark TestBatchMode as flaky on linux Modified: lldb/trunk/test/driver/batch_mode/TestBatchMode.py Modified: lldb/trunk/test/driver/batch_mode/TestBatchMode.py

Re: [Lldb-commits] [PATCH] D13699: RenderScript command for printing allocation contents.

2015-10-14 Thread Ewan Crawford via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL250281: RenderScript command for printing allocation contents (authored by EwanCrawford). Changed prior to commit: http://reviews.llvm.org/D13699?vs=37251&id=37324#toc Repository: rL LLVM http://rev

[Lldb-commits] [lldb] r250281 - RenderScript command for printing allocation contents

2015-10-14 Thread Ewan Crawford via lldb-commits
Author: ewancrawford Date: Wed Oct 14 04:02:20 2015 New Revision: 250281 URL: http://llvm.org/viewvc/llvm-project?rev=250281&view=rev Log: RenderScript command for printing allocation contents This patch adds the command 'language renderscript allocation dump ' for printing the contents of a RS

[Lldb-commits] [lldb] r250282 - Fix compiler warnings in ScriptInterpreterPython

2015-10-14 Thread Pavel Labath via lldb-commits
Author: labath Date: Wed Oct 14 04:18:23 2015 New Revision: 250282 URL: http://llvm.org/viewvc/llvm-project?rev=250282&view=rev Log: Fix compiler warnings in ScriptInterpreterPython Modified: lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp Modified: lldb/trun

[Lldb-commits] [PATCH] D13719: Fix warnings in LLDBWrapPython.cpp with gcc 4.9.

2015-10-14 Thread Hafiz Abid Qadeer via lldb-commits
abidh created this revision. abidh added reviewers: zturner, clayborg. abidh added a subscriber: lldb-commits. I see a lot of following warnings in LLDBWrapPython.cpp while building with gcc 4.9 on Linux. "warning: cast from type ‘const char*’ to type ‘char*’ casts away qualifiers [-Wcast-qual]"

Re: [Lldb-commits] [PATCH] D13699: RenderScript command for printing allocation contents.

2015-10-14 Thread Pavel Labath via lldb-commits
labath added a subscriber: labath. labath added a comment. Hi Ewan, this commit introduces a new warning: lldb/source/Commands/CommandObjectMemory.cpp:1502:21: warning: enumeration value 'eFormatVectorOfFloat16' not handled in switch [-Wswitch] switch (m_format_options.GetFormat

Re: [Lldb-commits] [PATCH] D13699: RenderScript command for printing allocation contents.

2015-10-14 Thread Ewan Crawford via lldb-commits
EwanCrawford added a comment. Hi Pavel, Thanks for letting me know, I'll look into it now. Repository: rL LLVM http://reviews.llvm.org/D13699 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listin

Re: [Lldb-commits] [PATCH] D12994: Improve support of the ncurses dependency on NetBSD

2015-10-14 Thread Kamil Rytarowski via lldb-commits
krytarowski added a comment. There is already preliminary NetBSD support merged with trunk, I need this commit (or altered version of it) to build lldb against ncurses on this platform. Thank you for your time. Repository: rL LLVM http://reviews.llvm.org/D12994 _

[Lldb-commits] [lldb] r250287 - Fix warning in CommandObjectMemory

2015-10-14 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Wed Oct 14 05:29:36 2015 New Revision: 250287 URL: http://llvm.org/viewvc/llvm-project?rev=250287&view=rev Log: Fix warning in CommandObjectMemory Modified: lldb/trunk/source/Commands/CommandObjectMemory.cpp Modified: lldb/trunk/source/Commands/CommandObjectMemory.c

[Lldb-commits] [lldb] r250286 - Make use of lldv::Triple::isAndroid

2015-10-14 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Wed Oct 14 05:29:17 2015 New Revision: 250286 URL: http://llvm.org/viewvc/llvm-project?rev=250286&view=rev Log: Make use of lldv::Triple::isAndroid It is a new function added to the llvm::Triple class to simplify the checking if we are targeting android to clean up the c

Re: [Lldb-commits] [PATCH] D13652: Change ConstString to support massive multi-threaded access

2015-10-14 Thread Tamas Berghammer via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL250289: Change ConstString to support massive multi-threaded access (authored by tberghammer). Changed prior to commit: http://reviews.llvm.org/D13652?vs=37258&id=37328#toc Repository: rL LLVM http:

[Lldb-commits] [lldb] r250289 - Change ConstString to support massive multi-threaded access

2015-10-14 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Wed Oct 14 05:38:22 2015 New Revision: 250289 URL: http://llvm.org/viewvc/llvm-project?rev=250289&view=rev Log: Change ConstString to support massive multi-threaded access Previously ConstString had a single mutex guarding the global string pool for each access what beco

[Lldb-commits] [lldb] r250290 - Revert "RenderScript command for printing allocation contents"

2015-10-14 Thread Pavel Labath via lldb-commits
Author: labath Date: Wed Oct 14 06:50:37 2015 New Revision: 250290 URL: http://llvm.org/viewvc/llvm-project?rev=250290&view=rev Log: Revert "RenderScript command for printing allocation contents" This commit breaks TestDataFormatterSmartArray on all buildbots. Modified: lldb/trunk/include/ll

Re: [Lldb-commits] [PATCH] D13699: RenderScript command for printing allocation contents.

2015-10-14 Thread Pavel Labath via lldb-commits
labath added a comment. Hi, I have reverted this as all the bots were getting red. In the test, variable was getting printed as `[{},{},{},{},{},{},{}]` instead of `{78.5},{77.25},{78},{76.125},{76.75},{76.875},{77}`. Please resubmit once the issue is resolved. Repository: rL LLVM http://

Re: [Lldb-commits] [PATCH] D13695: lldb-server: add support for binary memory reads

2015-10-14 Thread Pavel Labath via lldb-commits
labath updated this revision to Diff 37340. labath added a comment. The new functionality gets picked up by the client and automatically used everywhere, so I'm not really worried about testing it. A more important issue would be making sure that the legacy read packet does not rot as it is now

Re: [Lldb-commits] [PATCH] D13657: [lldb] char summary provider

2015-10-14 Thread Eugene Leviant via lldb-commits
evgeny777 updated this revision to Diff 37339. evgeny777 added a comment. Looks like can be done much easier http://reviews.llvm.org/D13657 Files: include/lldb/API/SBTypeSummary.h source/API/SBTypeSummary.cpp Index: source/API/SBTypeSummary.cpp =

Re: [Lldb-commits] [PATCH] D13695: lldb-server: add support for binary memory reads

2015-10-14 Thread Pavel Labath via lldb-commits
labath updated this revision to Diff 37341. labath added a comment. Remove files which slipped in... http://reviews.llvm.org/D13695 Files: source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h source/Plu

Re: [Lldb-commits] [PATCH] D13695: lldb-server: add support for binary memory reads

2015-10-14 Thread Tamas Berghammer via lldb-commits
tberghammer accepted this revision. tberghammer added a comment. This revision is now accepted and ready to land. Looks good http://reviews.llvm.org/D13695 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailm

Re: [Lldb-commits] [PATCH] D13699: RenderScript command for printing allocation contents.

2015-10-14 Thread Ewan Crawford via lldb-commits
EwanCrawford added a comment. No bother, thanks for reverting Repository: rL LLVM http://reviews.llvm.org/D13699 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] r250295 - lldb-server: add support for binary memory reads

2015-10-14 Thread Pavel Labath via lldb-commits
Author: labath Date: Wed Oct 14 07:59:37 2015 New Revision: 250295 URL: http://llvm.org/viewvc/llvm-project?rev=250295&view=rev Log: lldb-server: add support for binary memory reads Summary: This commit adds support for binary memory reads ($x) to lldb-server. It also removes the "0x" prefix fro

Re: [Lldb-commits] [PATCH] D13695: lldb-server: add support for binary memory reads

2015-10-14 Thread Pavel Labath via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL250295: lldb-server: add support for binary memory reads (authored by labath). Changed prior to commit: http://reviews.llvm.org/D13695?vs=37341&id=37342#toc Repository: rL LLVM http://reviews.llvm.o

[Lldb-commits] [PATCH] D13727: Add task pool to LLDB

2015-10-14 Thread Tamas Berghammer via lldb-commits
tberghammer created this revision. tberghammer added reviewers: labath, clayborg, vharron, zturner. tberghammer added a subscriber: lldb-commits. Herald added a subscriber: iancottrell. Add a new task pool class to LLDB to make it easy to execute tasks in parallel Basic design goals: * Have a ver

Re: [Lldb-commits] [PATCH] D13662: Make dwarf parsing multi-threaded

2015-10-14 Thread Tamas Berghammer via lldb-commits
tberghammer updated this revision to Diff 37353. tberghammer added a comment. Herald added a subscriber: iancottrell. Use the new ThreadPool class and make the Append+Finalize stage parallel. http://reviews.llvm.org/D13662 Files: source/Plugins/SymbolFile/DWARF/NameToDIE.cpp source/Plugins/

[Lldb-commits] [lldb] r250299 - cmake: provide flag that enables 'log enable --stack' to provide useful file/function info on POSIX systems

2015-10-14 Thread Todd Fiala via lldb-commits
Author: tfiala Date: Wed Oct 14 09:52:15 2015 New Revision: 250299 URL: http://llvm.org/viewvc/llvm-project?rev=250299&view=rev Log: cmake: provide flag that enables 'log enable --stack' to provide useful file/function info on POSIX systems Adding the following flag to a cmake line: -DLLDB_EXPOR

Re: [Lldb-commits] [PATCH] D13667: cmake: provide flag that enables 'log enable --stack' to provide useful file/line info on POSIX systems

2015-10-14 Thread Todd Fiala via lldb-commits
tfiala closed this revision. tfiala added a comment. Closed by the following commit: svn commit Sendingcmake/modules/AddLLDB.cmake Sendingcmake/modules/LLDBConfig.cmake Sendingsource/API/CMakeLists.txt Transmitting file data ... Committed revision 250299. htt

Re: [Lldb-commits] [PATCH] D10624: [ValueObjectPrinter::GetValueSummaryError] Get summary of non-synthetic values.

2015-10-14 Thread Michael Mayers via lldb-commits
tweakoz added a subscriber: tweakoz. tweakoz added a comment. I am hitting this also. Happens when I want a summary and a synthetic on the same type... http://reviews.llvm.org/D10624 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://l

Re: [Lldb-commits] [PATCH] D13727: Add task pool to LLDB

2015-10-14 Thread Pavel Labath via lldb-commits
labath requested changes to this revision. labath added a comment. This revision now requires changes to proceed. Although it may not seem from the number of my comments, I actually quite like this implementation. However, I think more work needs to be done to make this future-proof. - we defin

[Lldb-commits] [PATCH] D13730: Resubmit: RenderScript command for printing allocation contents

2015-10-14 Thread Ewan Crawford via lldb-commits
EwanCrawford created this revision. EwanCrawford added reviewers: granata.enrico, clayborg, jingham. EwanCrawford added subscribers: lldb-commits, domipheus, labath. EwanCrawford set the repository for this revision to rL LLVM. Previous patch http://reviews.llvm.org/D13699 broke TestDataFormatter

Re: [Lldb-commits] [PATCH] D13727: Add task pool to LLDB

2015-10-14 Thread Zachary Turner via lldb-commits
zturner added a comment. Can this be done in such a way that everything boils down to a single call to std::async on platforms that support thread limiting? Alternatively, why not just put a semaphore inside of the lambda that you run with std::async to limit the number of threads? This seems

[Lldb-commits] [lldb] r250304 - Minor cleanup on PythonDataObject constructors.

2015-10-14 Thread Zachary Turner via lldb-commits
Author: zturner Date: Wed Oct 14 11:59:44 2015 New Revision: 250304 URL: http://llvm.org/viewvc/llvm-project?rev=250304&view=rev Log: Minor cleanup on PythonDataObject constructors. Added a constructor that takes list_size for `PythonList`. Made all single-argument constructors explicit. Re-order

[Lldb-commits] [lldb] r250303 - Change swig interface files to use PythonDataObjects.

2015-10-14 Thread Zachary Turner via lldb-commits
Author: zturner Date: Wed Oct 14 11:59:32 2015 New Revision: 250303 URL: http://llvm.org/viewvc/llvm-project?rev=250303&view=rev Log: Change swig interface files to use PythonDataObjects. Modified: lldb/trunk/scripts/Python/python-extensions.swig lldb/trunk/scripts/Python/python-typemaps.

Re: [Lldb-commits] [PATCH] D13727: Add task pool to LLDB

2015-10-14 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. We can change this class to use std::async on Windows and an std::thread based implementation on Linux with the same interface (other OS-es should be decided) but I would prefer to use just 1 logic as it is easier to maintain. Limiting the number of threads with add

Re: [Lldb-commits] [PATCH] D13662: Make dwarf parsing multi-threaded

2015-10-14 Thread Greg Clayton via lldb-commits
clayborg requested changes to this revision. clayborg added a comment. This revision now requires changes to proceed. Missing the TaskPool.h and TaskPool.cpp files? http://reviews.llvm.org/D13662 ___ lldb-commits mailing list lldb-commits@lists.llvm

Re: [Lldb-commits] [PATCH] D13727: Add task pool to LLDB

2015-10-14 Thread Zachary Turner via lldb-commits
zturner added a comment. Ok, it seems reasonable to just use std::async on platforms that this is ok on, and not use it on platforms which it's not ok on. I think it should be enabled on Windows, but I'll leave it up to you to decide whether it's a whitelist or a blacklist. http://reviews.ll

Re: [Lldb-commits] [PATCH] D13657: [lldb] char summary provider

2015-10-14 Thread Enrico Granata via lldb-commits
granata.enrico added a comment. Admittedly way simpler than my original idea. +1 Having the RTTI support so that these SBTypeSummary objects can actually be used for anything other than mere creation would be nice. However, I can fill that gap myself later. Comment at: source/

[Lldb-commits] [lldb] r250306 - Fix Python initialization for Python 3.

2015-10-14 Thread Zachary Turner via lldb-commits
Author: zturner Date: Wed Oct 14 12:51:29 2015 New Revision: 250306 URL: http://llvm.org/viewvc/llvm-project?rev=250306&view=rev Log: Fix Python initialization for Python 3. Python 3 reverses the order in which you must call Py_InitializeEx and PyEval_InitThreads. Since that log is in itself alr

Re: [Lldb-commits] [PATCH] D13657: [lldb] char summary provider

2015-10-14 Thread Enrico Granata via lldb-commits
granata.enrico added inline comments. Comment at: source/API/SBTypeSummary.cpp:155 @@ +154,3 @@ + new CXXFunctionSummaryFormat(options, + [cb] (ValueObject& valobj, Stream& stm, const TypeSummaryOptions& opt) -> bool { +

Re: [Lldb-commits] [PATCH] D13699: RenderScript command for printing allocation contents.

2015-10-14 Thread Enrico Granata via lldb-commits
granata.enrico added a subscriber: granata.enrico. granata.enrico added a comment. Is there any reason why we need a special command here? Are these allocations not bound to any user-visible variable, such that one could get the same result by using our existing data inspection commands (expres

Re: [Lldb-commits] [PATCH] D13662: Make dwarf parsing multi-threaded

2015-10-14 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. Please see http://reviews.llvm.org/D13727 http://reviews.llvm.org/D13662 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D13727: Add task pool to LLDB

2015-10-14 Thread Greg Clayton via lldb-commits
clayborg requested changes to this revision. clayborg added a comment. I agree with labath's comments and see if we can move TaskPoolImpl into the .cpp file. Comment at: include/lldb/Utility/TaskPool.h:39-66 @@ +38,30 @@ + +class TaskPoolImpl +{ +public: +Ta

Re: [Lldb-commits] [PATCH] D13727: Add task pool to LLDB

2015-10-14 Thread Greg Clayton via lldb-commits
clayborg added a comment. Any std::async adoption will need to be able to deliver tasks as they complete via "TaskRunner::WaitForNextCompletedTask()". We had a previous example where 1000 items could be pushed onto a std::vector of tasks and then the code was doing: for (i=0; ihttp://reviews

Re: [Lldb-commits] [PATCH] D13662: Make dwarf parsing multi-threaded

2015-10-14 Thread Greg Clayton via lldb-commits
clayborg accepted this revision. clayborg added a comment. This revision is now accepted and ready to land. Just saw that patch, so this looks good then pending the other patch. http://reviews.llvm.org/D13662 ___ lldb-commits mailing list lldb-commi

Re: [Lldb-commits] [PATCH] D13662: Make dwarf parsing multi-threaded

2015-10-14 Thread Greg Clayton via lldb-commits
clayborg added a comment. BTW: if we can modify clang to produce the Apple accelerator tables, we won't need to do any of this indexing which will really speed up debugging! We only produce the Apple accelerator tables on Darwin, but we could on other systems. There is also a new version of the

Re: [Lldb-commits] [PATCH] D13727: Add task pool to LLDB

2015-10-14 Thread Zachary Turner via lldb-commits
zturner added a comment. I thought about this some more and I'm fine with going with a single implementation and not using std async. It would be nice to take advantage of any deep optimizations std::async provides over a hand-rolled solution, but at the same time there's a cost to adding comp

Re: [Lldb-commits] [lldb] r250306 - Fix Python initialization for Python 3.

2015-10-14 Thread Ed Maste via lldb-commits
On 14 October 2015 at 13:51, Zachary Turner via lldb-commits wrote: > Author: zturner > Date: Wed Oct 14 12:51:29 2015 > New Revision: 250306 > > URL: http://llvm.org/viewvc/llvm-project?rev=250306&view=rev > Log: > Fix Python initialization for Python 3. This introduced a new warning for me: ..

Re: [Lldb-commits] [PATCH] D13657: [lldb] char summary provider

2015-10-14 Thread Eugene Leviant via lldb-commits
evgeny777 added a comment. One question: CreateWithCallback and CreateWithSummaryString do not require Python support and can be used with LLDB_DISABLE_PYTHON. May be it makes sense to remove conditional compilation, like it is done here: http://reviews.llvm.org/D13577 Commen

Re: [Lldb-commits] [PATCH] D13727: Add task pool to LLDB

2015-10-14 Thread Zachary Turner via lldb-commits
zturner added a comment. The only real suggestion / question I have is a design one. By using this implementation we can't take advantage of the system thread pool. That was the point of using std async in the first place, but we found that it doesn't always limit the number of threads. Maybe

Re: [Lldb-commits] [PATCH] D13657: [lldb] char summary provider

2015-10-14 Thread Enrico Granata via lldb-commits
granata.enrico added inline comments. Comment at: source/API/SBTypeSummary.cpp:155 @@ +154,3 @@ + new CXXFunctionSummaryFormat(options, + [cb] (ValueObject& valobj, Stream& stm, const TypeSummaryOptions& opt) -> bool { +

Re: [Lldb-commits] [PATCH] D13657: [lldb] char summary provider

2015-10-14 Thread Eugene Leviant via lldb-commits
evgeny777 added inline comments. Comment at: source/API/SBTypeSummary.cpp:157 @@ +156,3 @@ +SBStream stream; +if (!cb(valobj.GetSP(), &opt, stream)) +return false; granata.enri

Re: [Lldb-commits] [lldb] r250306 - Fix Python initialization for Python 3.

2015-10-14 Thread Zachary Turner via lldb-commits
Thanks for the heads up. I have some more patches coming in soon, since this is just a warning and not a blocker I'll fix it in one of these followup patches. On Wed, Oct 14, 2015 at 11:38 AM Ed Maste wrote: > On 14 October 2015 at 13:51, Zachary Turner via lldb-commits > wrote: > > Author: zt

Re: [Lldb-commits] [PATCH] D13727: Add task pool to LLDB

2015-10-14 Thread Greg Clayton via lldb-commits
clayborg added a comment. Zach: If these are implementation details, lets get this in first and then worry about optimizations later. http://reviews.llvm.org/D13727 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi

Re: [Lldb-commits] [PATCH] D13727: Add task pool to LLDB

2015-10-14 Thread Zachary Turner via lldb-commits
zturner added a comment. Well, it's not just an optimization. Threading code is hard to reason about, and the more complicated an implementation the more likely it is to have race conditions or other problems. So any opportunity to reduce the amount of manual thread management is a win in tha

[Lldb-commits] [lldb] r250322 - Avoid a -Wreorder warning in ScriptInterpreterPython.cpp.

2015-10-14 Thread Stephane Sezer via lldb-commits
Author: sas Date: Wed Oct 14 15:39:41 2015 New Revision: 250322 URL: http://llvm.org/viewvc/llvm-project?rev=250322&view=rev Log: Avoid a -Wreorder warning in ScriptInterpreterPython.cpp. Modified: lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp Modified: lld

Re: [Lldb-commits] [PATCH] D13657: [lldb] char summary provider

2015-10-14 Thread Enrico Granata via lldb-commits
granata.enrico added a comment. So, if you do the explicit constructor change and handle the case of a nullptr Callback I think it should be good to go. Looking forward to it! Comment at: source/API/SBTypeSummary.cpp:157 @@ +156,3 @@ +SBStream stream

Re: [Lldb-commits] [lldb] r250322 - Avoid a -Wreorder warning in ScriptInterpreterPython.cpp.

2015-10-14 Thread Zachary Turner via lldb-commits
Thanks, I had a CL coming to fix this but you beat me to it. On Wed, Oct 14, 2015 at 1:41 PM Stephane Sezer via lldb-commits < lldb-commits@lists.llvm.org> wrote: > Author: sas > Date: Wed Oct 14 15:39:41 2015 > New Revision: 250322 > > URL: http://llvm.org/viewvc/llvm-project?rev=250322&view=rev

[Lldb-commits] [PATCH] D13742: Fix codesign command with cmake.

2015-10-14 Thread Stephane Sezer via lldb-commits
sas created this revision. sas added reviewers: clayborg, dawn, brucem, tfiala. sas added a subscriber: lldb-commits. Looks like having a space in the Xcode path triggers this bug. We need to use cmake -E env FOO=bar [COMMAND] to set the environment instead. I am using cmake 3.3.1 and ninja 1.6.0

[Lldb-commits] [lldb] r250327 - Get Python unit tests working with Python 3.

2015-10-14 Thread Zachary Turner via lldb-commits
Author: zturner Date: Wed Oct 14 16:06:13 2015 New Revision: 250327 URL: http://llvm.org/viewvc/llvm-project?rev=250327&view=rev Log: Get Python unit tests working with Python 3. There were a couple of issues related to string handling that needed to be fixed. In particular, we cannot get away w

Re: [Lldb-commits] [PATCH] D13742: Fix codesign command with cmake.

2015-10-14 Thread Todd Fiala via lldb-commits
tfiala accepted this revision. tfiala added a comment. This revision is now accepted and ready to land. LGTM. http://reviews.llvm.org/D13742 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lld

[Lldb-commits] [lldb] r250331 - Make uses of /dev/null portable across OSes.

2015-10-14 Thread Zachary Turner via lldb-commits
Author: zturner Date: Wed Oct 14 16:37:36 2015 New Revision: 250331 URL: http://llvm.org/viewvc/llvm-project?rev=250331&view=rev Log: Make uses of /dev/null portable across OSes. Most platforms have "/dev/null". Windows has "nul". Instead of hardcoding the string /dev/null at various places, ma

Re: [Lldb-commits] [PATCH] D13742: Fix codesign command with cmake.

2015-10-14 Thread Stephane Sezer via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL250335: Fix codesign command with cmake. (authored by sas). Changed prior to commit: http://reviews.llvm.org/D13742?vs=37387&id=37405#toc Repository: rL LLVM http://reviews.llvm.org/D13742 Files:

[Lldb-commits] [lldb] r250335 - Fix codesign command with cmake.

2015-10-14 Thread Stephane Sezer via lldb-commits
Author: sas Date: Wed Oct 14 17:25:43 2015 New Revision: 250335 URL: http://llvm.org/viewvc/llvm-project?rev=250335&view=rev Log: Fix codesign command with cmake. Summary: Looks like having a space in the Xcode path triggers this bug. We need to use cmake -E env FOO=bar [COMMAND] to set the envir

[Lldb-commits] [lldb] r250339 - Fix a problem where LLDB could sometimes try to get the size of an Objective-C type without passing an appropriate ExecutionContext

2015-10-14 Thread Enrico Granata via lldb-commits
Author: enrico Date: Wed Oct 14 17:44:30 2015 New Revision: 250339 URL: http://llvm.org/viewvc/llvm-project?rev=250339&view=rev Log: Fix a problem where LLDB could sometimes try to get the size of an Objective-C type without passing an appropriate ExecutionContext Modified: lldb/trunk/inclu

[Lldb-commits] [lldb] r250340 - Fix a couple issues where trying to print a type would cause LLDB to crash

2015-10-14 Thread Enrico Granata via lldb-commits
Author: enrico Date: Wed Oct 14 17:44:50 2015 New Revision: 250340 URL: http://llvm.org/viewvc/llvm-project?rev=250340&view=rev Log: Fix a couple issues where trying to print a type would cause LLDB to crash Modified: lldb/trunk/source/Symbol/ClangASTContext.cpp Modified: lldb/trunk/source/

[Lldb-commits] [lldb] r250341 - Add a data formatter for __NSArray0, the type of empty arrays

2015-10-14 Thread Enrico Granata via lldb-commits
Author: enrico Date: Wed Oct 14 17:45:04 2015 New Revision: 250341 URL: http://llvm.org/viewvc/llvm-project?rev=250341&view=rev Log: Add a data formatter for __NSArray0, the type of empty arrays Modified: lldb/trunk/source/Plugins/Language/ObjC/NSArray.cpp lldb/trunk/source/Plugins/Langua

[Lldb-commits] [PATCH] D13754: Split Socket class into Tcp/Udp/DomainSocket subclasses.

2015-10-14 Thread Oleksiy Vyalov via lldb-commits
ovyalov created this revision. ovyalov added reviewers: clayborg, zturner, labath. ovyalov added a subscriber: lldb-commits. Herald added subscribers: srhines, danalbert, tberghammer. There are a few reasons for this change: - Support generic logic flow for different socket types - a preparation

Re: [Lldb-commits] [PATCH] D13754: Split Socket class into Tcp/Udp/DomainSocket subclasses.

2015-10-14 Thread Greg Clayton via lldb-commits
clayborg requested changes to this revision. clayborg added a comment. This revision now requires changes to proceed. Can we change "TcpSocket" to be "TCPSocket" and "UdpSocket" to be "UDPSocket" in all code and in the file names? Other than that it looks good. Comment at: sour

[Lldb-commits] [lldb] r250353 - Fix the ability to quit and use a custom exception. Also print tree items out so they are more aligned.

2015-10-14 Thread Greg Clayton via lldb-commits
Author: gclayton Date: Wed Oct 14 19:49:36 2015 New Revision: 250353 URL: http://llvm.org/viewvc/llvm-project?rev=250353&view=rev Log: Fix the ability to quit and use a custom exception. Also print tree items out so they are more aligned. Modified: lldb/trunk/test/lldbcurses.py Modified: l

Re: [Lldb-commits] [PATCH] D13754: Split Socket class into Tcp/Udp/DomainSocket subclasses.

2015-10-14 Thread Zachary Turner via lldb-commits
zturner added a comment. Can you compile on Windows and make sure it works? Also should you add a unittest for Udp Sockets? http://reviews.llvm.org/D13754 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mail

[Lldb-commits] [lldb] r250364 - In r240466, when Greg added the jThreadsInfo packet, he accidentally

2015-10-14 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Wed Oct 14 23:20:42 2015 New Revision: 250364 URL: http://llvm.org/viewvc/llvm-project?rev=250364&view=rev Log: In r240466, when Greg added the jThreadsInfo packet, he accidentally disabled the use of the jThreadGetExtendedInfo packet which is used to retrieve additional inf