Re: [Lldb-commits] [PATCH] D13334: Preliminary NetBSD support

2015-10-12 Thread Bruce Mitchener via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL250146: Preliminary NetBSD support (authored by brucem). Changed prior to commit: http://reviews.llvm.org/D13334?vs=37077&id=37214#toc Repository: rL LLVM http://reviews.llvm.org/D13334 Files: lld

[Lldb-commits] [lldb] r250146 - Preliminary NetBSD support

2015-10-12 Thread Bruce Mitchener via lldb-commits
Author: brucem Date: Tue Oct 13 00:04:13 2015 New Revision: 250146 URL: http://llvm.org/viewvc/llvm-project?rev=250146&view=rev Log: Preliminary NetBSD support Summary: This adds platform code without the cmake/gmake glue to the existing infrastructure. The missing and incompatibility ptrace(2)

Re: [Lldb-commits] [PATCH] D13578: Allow generic arm ArchSpec to merge with specific arm ArchSpec; allow Cortex M0-7's to always force thumb mode

2015-10-12 Thread Jason Molenda via lldb-commits
jasonmolenda updated this revision to Diff 37210. jasonmolenda added a comment. Quick update of the patch using the llvm target information. Builds and works correctly on macosx with xcodebuild. Doesn't build with cmake yet; I don't have the includes set up correctly for the llvm build-dir lib

[Lldb-commits] [PATCH] D13684: [LLDB] Fix Clang-tidy modernize-use-override warnings in source/Plugins/ABI; other minor fixes.

2015-10-12 Thread Eugene Zelenko via lldb-commits
Eugene.Zelenko created this revision. Eugene.Zelenko added reviewers: brucem, labath, clayborg. Eugene.Zelenko added a subscriber: lldb-commits. Eugene.Zelenko set the repository for this revision to rL LLVM. Herald added a subscriber: dsanders. This is second attempt based on current code. I che

Re: [Lldb-commits] [PATCH] D13296: [LLDB] Fix watchpoint ignore feature for architectures with watchpoint_exceptions_received=before

2015-10-12 Thread Jim Ingham via lldb-commits
jingham requested changes to this revision. jingham added a comment. This revision now requires changes to proceed. This change alters the timing for the handling of ignore counts for watchpoints. The original implementation (and the way ignore counts work for breakpoints) is that the breakpoin

[Lldb-commits] [lldb] r250131 - [libstdc++ data-formatters] Remove size limits.

2015-10-12 Thread Siva Chandra via lldb-commits
Author: sivachandra Date: Mon Oct 12 19:05:42 2015 New Revision: 250131 URL: http://llvm.org/viewvc/llvm-project?rev=250131&view=rev Log: [libstdc++ data-formatters] Remove size limits. Reviewers: granata.enrico Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13682 Mo

Re: [Lldb-commits] [PATCH] D13678: [libstdc++ data-formatters] Remove size limits and loop detector.

2015-10-12 Thread Siva Chandra via lldb-commits
sivachandra abandoned this revision. sivachandra added a comment. Abandoning this in favor of http://reviews.llvm.org/D13682. It was easy to create a new diff than to edit the existing one. http://reviews.llvm.org/D13678 ___ lldb-commits mailing li

[Lldb-commits] [PATCH] D13682: [libstdc++ data-formatters] Remove size limits.

2015-10-12 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added a reviewer: granata.enrico. sivachandra added a subscriber: lldb-commits. http://reviews.llvm.org/D13682 Files: examples/synthetic/gnu_libstdcpp.py Index: examples/synthetic/gnu_libstdcpp.py ==

Re: [Lldb-commits] [PATCH] D13679: Fix TestTargetAPI.py test for users who use Swig 3.0.5 or greater.

2015-10-12 Thread Adrian McCarthy via lldb-commits
amccarth added a comment. Adding Greg Clayton for advice on how to proceed. Swig documentation talked about the peril of varargs methods: http://www.swig.org/Doc3.0/Varargs.html#Varargs The fact that it appears to work with 3.0.2 seems to be a bug in 3.0.2. My proposal is in this patch. An a

Re: [Lldb-commits] [PATCH] D13679: Fix TestTargetAPI.py test for users who use Swig 3.0.5 or greater.

2015-10-12 Thread Adrian McCarthy via lldb-commits
amccarth added a subscriber: amccarth. amccarth added a comment. With Swig 3.0.2, non-string arguments work. I'm not sure why. Even the Swig 1.x documentation says that what we're doing shouldn't work. http://reviews.llvm.org/D13679 ___ lldb-commi

Re: [Lldb-commits] [PATCH] D13679: Fix TestTargetAPI.py test for users who use Swig 3.0.5 or greater.

2015-10-12 Thread Adrian McCarthy via lldb-commits
With Swig 3.0.2, non-string arguments work. I'm not sure why. Even the Swig 1.x documentation says that what we're doing shouldn't work. On Mon, Oct 12, 2015 at 3:49 PM, Zachary Turner wrote: > zturner added a comment. > > Prior to this patch, what was the behavior of using > SetErrorStringWit

[Lldb-commits] [PATCH] D13681: [LLDB] Fix Clang-tidy misc-use-override warnings in remaining files in include; other minor fixes.

2015-10-12 Thread Eugene Zelenko via lldb-commits
Eugene.Zelenko created this revision. Eugene.Zelenko added reviewers: brucem, labath, clayborg. Eugene.Zelenko added a subscriber: lldb-commits. Eugene.Zelenko set the repository for this revision to rL LLVM. This is second attempt based on current code. I checked this patch on my own build on RH

Re: [Lldb-commits] [PATCH] D13678: [libstdc++ data-formatters] Remove size limits and loop detector.

2015-10-12 Thread Enrico Granata via lldb-commits
granata.enrico added a comment. Removing the size limit would be acceptable, yes It is a remnant of a time when LLDB lacked ways to actually cap data at the command-line level and the Xcode UI did not do lazy fetching of values Given that these things now work properly, the ability to generate

Re: [Lldb-commits] [PATCH] D13678: [libstdc++ data-formatters] Remove size limits and loop detector.

2015-10-12 Thread Siva Chandra via lldb-commits
sivachandra added a comment. Is eliminating the size limits alone acceptable then? http://reviews.llvm.org/D13678 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] LLVM buildmaster will be restarted tonight

2015-10-12 Thread Galina Kistanova via lldb-commits
Hello everyone, LLVM buildmaster will be updated and restarted after 6 PM Pacific time today. I know it makes some noise, I am working on reducing it. Thanks Galina ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin

Re: [Lldb-commits] [PATCH] D13679: Fix TestTargetAPI.py test for users who use Swig 3.0.5 or greater.

2015-10-12 Thread Zachary Turner via lldb-commits
zturner added a comment. Prior to this patch, what was the behavior of using SetErrorStringWithFormat with an argument that was not a string? Can you add a test to `fuzz_obj` that calls `SetErrorStringWithFormat("%d", 10)` and run it against SWIG 3.0.2 and see what happens? http://reviews.llv

Re: [Lldb-commits] [PATCH] D13678: [libstdc++ data-formatters] Remove size limits and loop detector.

2015-10-12 Thread Jim Ingham via lldb-commits
jingham added a subscriber: jingham. jingham added a comment. I don't know about the std::list implementation in specific, but in the debugger you have to be aware of the possibility that you are looking at an entity that is in the middle of being modified. Note, it may not be obvious to the u

Re: [Lldb-commits] [PATCH] D13678: [libstdc++ data-formatters] Remove size limits and loop detector.

2015-10-12 Thread Jim Ingham via lldb-commits
I don't know about the std::list implementation in specific, but in the debugger you have to be aware of the possibility that you are looking at an entity that is in the middle of being modified. Note, it may not be obvious to the user that that is being done since it may be happening on anothe

Re: [Lldb-commits] [PATCH] D13678: [libstdc++ data-formatters] Remove size limits and loop detector.

2015-10-12 Thread Enrico Granata via lldb-commits
granata.enrico added a comment. Possibility number 3 (and the true reason why the check is there): if you stop at a place where the variable is not fully initialized/being torn down, and as a result, something is pointing back inside the list. For a list traversal, that is a deadly outcome. Th

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

2015-10-12 Thread Zachary Turner via lldb-commits
zturner added inline comments. Comment at: source/Core/ConstString.cpp:175 @@ -174,3 @@ -//-- -mutable Mutex m_mutex; -StringPool m_string_map; tberghammer wrote: > zturner wrote: > > Did

Re: [Lldb-commits] [PATCH] D13678: [libstdc++ data-formatters] Remove size limits and loop detector.

2015-10-12 Thread Siva Chandra via lldb-commits
sivachandra added a comment. How can there be loops in an std::list? 1. If the implementation is flawed. 2. If someone messes with its implementation. Should we protect for such cases at all? If #1, don't use that library in the first place. If #2, that is an unsupported use case :) http://re

[Lldb-commits] [PATCH] D13679: Fix TestTargetAPI.py test for users who use Swig 3.0.5 or greater.

2015-10-12 Thread Adrian McCarthy via lldb-commits
amccarth created this revision. amccarth added a reviewer: zturner. amccarth added a subscriber: lldb-commits. How Swig handles varargs functions changed between 3.0.2 and 3.0.5, which causes one of our tests to fail. This fix adds a Swig directive to the SBError::SetErrorSTringWithFormat metho

Re: [Lldb-commits] [PATCH] D13678: [libstdc++ data-formatters] Remove size limits and loop detector.

2015-10-12 Thread Enrico Granata via lldb-commits
granata.enrico added a comment. Why are you removing the loop detection? As for the size capping, yes, if you remove the loop detection it will be less of a problem because downstream commands (e.g. frame variable) will actually cap how many elements get fetched unless the user overrides that d

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

2015-10-12 Thread Tamas Berghammer via lldb-commits
tberghammer added inline comments. Comment at: source/Core/ConstString.cpp:147-152 @@ -165,7 +146,8 @@ protected: -//-- -// Typedefs -//-- -

[Lldb-commits] [PATCH] D13678: [libstdc++ data-formatters] Remove size limits and loop detector.

2015-10-12 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added a reviewer: granata.enrico. sivachandra added a subscriber: lldb-commits. http://reviews.llvm.org/D13678 Files: examples/synthetic/gnu_libstdcpp.py Index: examples/synthetic/gnu_libstdcpp.py ==

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

2015-10-12 Thread Greg Clayton via lldb-commits
clayborg requested changes to this revision. clayborg added a comment. This revision now requires changes to proceed. It would be nice to compute one hash per string and use that during insertion. I really like the patch, but can we avoid two string hashes? Comment at: source/C

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

2015-10-12 Thread Zachary Turner via lldb-commits
zturner added a comment. You can probably limit the number of threads portably by using a sempahore that blocks after it's been acquired `std::thread::hardware_concurrency()` times. http://reviews.llvm.org/D13662 ___ lldb-commits mailing list lldb-

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

2015-10-12 Thread Zachary Turner via lldb-commits
zturner added a comment. fwiw, I know for a fact on Windows the number of threads are limited. So you're good to go here, can't speak for other platforms. http://reviews.llvm.org/D13662 ___ lldb-commits mailing list lldb-commits@lists.llvm.org htt

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

2015-10-12 Thread Greg Clayton via lldb-commits
clayborg added a comment. std::async is fine as long as it doesn't blow out the threads on any supported systems. We should also test doing multiple std::async calls in different places in some test only code to make sure if we run 4 std::async calls at once on different threads that we don't e

Re: [Lldb-commits] [PATCH] D13617: Fix ref-counting of Python objects

2015-10-12 Thread Greg Clayton via lldb-commits
clayborg added a comment. I would like to see PythonObject used in place of PyRef, feel free to remove the operator bool and PyObject, and then the rest of the mostly indent and style cleanups. Comment at: source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h:73-79 @@ -7

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

2015-10-12 Thread Zachary Turner via lldb-commits
zturner added a subscriber: zturner. Comment at: source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:2074 @@ +2073,3 @@ + +std::lock_guard lock(index_mutex); +m_function_basename_index.Append(function_basename_index); Every one of t

Re: [Lldb-commits] [PATCH] D13625: Support RHEL 7 and similar systems that use architecture-specific Python lib dirs.

2015-10-12 Thread Todd Fiala via lldb-commits
tfiala closed this revision. tfiala added a comment. Committed here: svn commit Adding scripts/get_relative_lib_dir.py Sendingsource/Host/CMakeLists.txt Sendingsource/Host/posix/HostInfoPosix.cpp Sendingwww/build.html Transmitting file data Commi

[Lldb-commits] [lldb] r250093 - Support RHEL 7 and similar systems that use architecture-specific Python lib dirs

2015-10-12 Thread Todd Fiala via lldb-commits
Author: tfiala Date: Mon Oct 12 15:12:27 2015 New Revision: 250093 URL: http://llvm.org/viewvc/llvm-project?rev=250093&view=rev Log: Support RHEL 7 and similar systems that use architecture-specific Python lib dirs This change commits: http://reviews.llvm.org/D13625 Added: lldb/trunk/script

Re: [Lldb-commits] [PATCH] D13625: Support RHEL 7 and similar systems that use architecture-specific Python lib dirs.

2015-10-12 Thread Todd Fiala via lldb-commits
tfiala added a comment. > I'll wait for a while to hear if either @emaste or @dawn chime in. I'm going to get this in. If any of the rest of you find issues, we'll get them taken care of at that point. Thanks! http://reviews.llvm.org/D13625 ___

Re: [Lldb-commits] [lldb] r250081 - Fix test for change in a summary string (objects -> elements).

2015-10-12 Thread Enrico Granata via lldb-commits
> On Oct 12, 2015, at 12:00 PM, Jim Ingham via lldb-commits > wrote: > > Author: jingham > Date: Mon Oct 12 14:00:28 2015 > New Revision: 250081 > > URL: http://llvm.org/viewvc/llvm-project?rev=250081&view=rev > Log: > Fix test for change in a summary string (objects -> elements). > > Modifie

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

2015-10-12 Thread Todd Fiala via lldb-commits
tfiala created this revision. tfiala added reviewers: emaste, chaoren. tfiala added subscribers: lldb-commits, labath. This change addresses: https://llvm.org/bugs/show_bug.cgi?id=25133 On Linux (and likely other GNU ld-based systems), the llvm backtrace utility used by 'log enable --stack' cann

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

2015-10-12 Thread Enrico Granata via lldb-commits
granata.enrico added a comment. The consistency argument is not entirely unfair. I would claim that Unicode is a more complex beast than plain ASCII, so it makes sense to go the extra mile in giving you details in that case, compared to the simpler char case. If the only reason you're pursuing

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

2015-10-12 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. It is depending on the implementation of std::async what AFAIK isn't defined by the standard, but I would expect that a decent stl implementation will create a reasonable number of threads (in some sense). While developing/testing the code (with ~3000 CU in a Symbol

[Lldb-commits] [lldb] r250084 - Fix a misunderstanding of the ThreadPlan::OkayToDiscard flag in InferiorCallPOSIX. It was

2015-10-12 Thread Jim Ingham via lldb-commits
Author: jingham Date: Mon Oct 12 14:11:03 2015 New Revision: 250084 URL: http://llvm.org/viewvc/llvm-project?rev=250084&view=rev Log: Fix a misunderstanding of the ThreadPlan::OkayToDiscard flag in InferiorCallPOSIX. It was set to true, but all plans run by RunThreadPlan need to have this set t

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

2015-10-12 Thread Eugene Leviant via lldb-commits
evgeny777 added a comment. Ok, I see MI historically has this code + value printing and test cases covering it. By the way char16_t and char32_t summary providers also print code and value, in case you don't know. http://reviews.llvm.org/D13657 ___

[Lldb-commits] [lldb] r250083 - Return the right answer for ShouldStop for the RunToAddress plan. This isn't

2015-10-12 Thread Jim Ingham via lldb-commits
Author: jingham Date: Mon Oct 12 14:03:32 2015 New Revision: 250083 URL: http://llvm.org/viewvc/llvm-project?rev=250083&view=rev Log: Return the right answer for ShouldStop for the RunToAddress plan. This isn't strictly necessary because RunToAddress is always used as a subsidiary plan, so it's S

[Lldb-commits] [lldb] r250082 - Add a doc string for ReturnFromFrame.

2015-10-12 Thread Jim Ingham via lldb-commits
Author: jingham Date: Mon Oct 12 14:02:08 2015 New Revision: 250082 URL: http://llvm.org/viewvc/llvm-project?rev=250082&view=rev Log: Add a doc string for ReturnFromFrame. Modified: lldb/trunk/scripts/interface/SBThread.i Modified: lldb/trunk/scripts/interface/SBThread.i URL: http://llvm.or

[Lldb-commits] [lldb] r250081 - Fix test for change in a summary string (objects -> elements).

2015-10-12 Thread Jim Ingham via lldb-commits
Author: jingham Date: Mon Oct 12 14:00:28 2015 New Revision: 250081 URL: http://llvm.org/viewvc/llvm-project?rev=250081&view=rev Log: Fix test for change in a summary string (objects -> elements). Modified: lldb/trunk/test/lang/objc/hidden-ivars/TestHiddenIvars.py Modified: lldb/trunk/test/l

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

2015-10-12 Thread Zachary Turner via lldb-commits
zturner added a subscriber: zturner. Comment at: source/Core/ConstString.cpp:175 @@ -174,3 @@ -//-- -mutable Mutex m_mutex; -StringPool m_string_map; Did you consider changing this to an `

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

2015-10-12 Thread Greg Clayton via lldb-commits
clayborg added a comment. If you have 1000 compile units, will this spawn 1000 threads simultaneously? http://reviews.llvm.org/D13662 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commi

[Lldb-commits] [lldb] r250069 - TestAttachResume is still flaky on linux. mark it as such

2015-10-12 Thread Pavel Labath via lldb-commits
Author: labath Date: Mon Oct 12 12:43:03 2015 New Revision: 250069 URL: http://llvm.org/viewvc/llvm-project?rev=250069&view=rev Log: TestAttachResume is still flaky on linux. mark it as such Modified: lldb/trunk/test/functionalities/attach_resume/TestAttachResume.py Modified: lldb/trunk/test

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

2015-10-12 Thread Enrico Granata via lldb-commits
granata.enrico requested changes to this revision. granata.enrico added a comment. This revision now requires changes to proceed. Truth be told, I find this notation (numeric value + printable character) to be heavy and somewhat redundant I would be happier with a model where printable character

Re: [Lldb-commits] [PATCH] D13617: Fix ref-counting of Python objects

2015-10-12 Thread Zachary Turner via lldb-commits
zturner added a comment. Let me know what you think about my responses. Anything I didn't specifically call out I'll fix in the next version of the patch. Comment at: source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h:73-79 @@ -73,2 +72,9 @@ -class PythonObject

Re: [Lldb-commits] [PATCH] D13646: [LLDB] Don't use signo as key in Signals DenseMap, as signo are not unique

2015-10-12 Thread Greg Clayton via lldb-commits
clayborg added a comment. So I would prefer to have one entry per signal and have that structure describe everything for that one signal. Repository: rL LLVM http://reviews.llvm.org/D13646 ___ lldb-commits mailing list lldb-commits@lists.llvm.or

Re: [Lldb-commits] [PATCH] D13646: [LLDB] Don't use signo as key in Signals DenseMap, as signo are not unique

2015-10-12 Thread Greg Clayton via lldb-commits
clayborg requested changes to this revision. clayborg added a comment. This revision now requires changes to proceed. I would prefer to add an alias name instead of a serial number. If a signal has more than one possible name, I would rather see that documented up front. It also makes for cleare

Re: [Lldb-commits] [PATCH] D13617: Fix ref-counting of Python objects

2015-10-12 Thread Greg Clayton via lldb-commits
clayborg requested changes to this revision. clayborg added a comment. This revision now requires changes to proceed. See inlined comments. Comment at: source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h:73-79 @@ -73,2 +72,9 @@ -class PythonObject +enum class PyRef

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

2015-10-12 Thread Tamas Berghammer via lldb-commits
tberghammer created this revision. tberghammer added reviewers: labath, clayborg. tberghammer added a subscriber: lldb-commits. Make dwarf parsing multi-threaded Loading the debug info from a large application is the slowest task LLDB do. This CL makes most of the dwarf parsing code multi-threade

Re: [Lldb-commits] [PATCH] D13625: Support RHEL 7 and similar systems that use architecture-specific Python lib dirs.

2015-10-12 Thread Todd Fiala via lldb-commits
tfiala added a comment. In http://reviews.llvm.org/D13625#264951, @labath wrote: > > RHEL 7 is already doing this - most of lib is 64-bit. All of lib64 is > > 64-bit. They already use both (~600 MB in lib, ~1GB in lib64 on a stock > > system). I have also built custom pythons, and by default

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

2015-10-12 Thread Pavel Labath via lldb-commits
labath added a comment. Looks reasonable to me, but please with for ok from clayborg. http://reviews.llvm.org/D13652 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D13625: Support RHEL 7 and similar systems that use architecture-specific Python lib dirs.

2015-10-12 Thread Pavel Labath via lldb-commits
labath accepted this revision. labath added a comment. This revision is now accepted and ready to land. > RHEL 7 is already doing this - most of lib is 64-bit. All of lib64 is > 64-bit. They already use both (~600 MB in lib, ~1GB in lib64 on a stock > system). I have also built custom pythons

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

2015-10-12 Thread Eugene Leviant via lldb-commits
evgeny777 created this revision. evgeny777 added a reviewer: granata.enrico. evgeny777 added subscribers: lldb-commits, KLapshin. This patch enables type summary for 'char' type. Let's suppose we have: **char c = 'h'; ** Current revision evaluates c as: **(char) $0 = 'h'** After this patch (10

Re: [Lldb-commits] [PATCH] D13625: Support RHEL 7 and similar systems that use architecture-specific Python lib dirs.

2015-10-12 Thread Todd Fiala via lldb-commits
tfiala added a comment. In http://reviews.llvm.org/D13625#264889, @labath wrote: > In http://reviews.llvm.org/D13625#264888, @tfiala wrote: > > > > Tell me the diff line you want. I'm doing the same type of diffs I have > > > submitted for years. I'll adjust my process. > > > > > > Are you wanti

Re: [Lldb-commits] [PATCH] D13625: Support RHEL 7 and similar systems that use architecture-specific Python lib dirs.

2015-10-12 Thread Todd Fiala via lldb-commits
tfiala added a comment. > If it is proven we are doing something wrong for cross compiling, and > somebody wants to make that right, we then change over from using the > disutils approach both in generating the partial relative directory for > answering 'lldb -P' and in the finalization of pyth

Re: [Lldb-commits] [PATCH] D13625: Support RHEL 7 and similar systems that use architecture-specific Python lib dirs.

2015-10-12 Thread Todd Fiala via lldb-commits
tfiala added a comment. In http://reviews.llvm.org/D13625#264879, @labath wrote: > In http://reviews.llvm.org/D13625#264862, @tfiala wrote: > > > In http://reviews.llvm.org/D13625#264786, @labath wrote: > > > > > Could you submit the change with full context next time? It makes review > > > much

Re: [Lldb-commits] [PATCH] D13625: Support RHEL 7 and similar systems that use architecture-specific Python lib dirs.

2015-10-12 Thread Pavel Labath via lldb-commits
labath added a comment. In http://reviews.llvm.org/D13625#264888, @tfiala wrote: > > Tell me the diff line you want. I'm doing the same type of diffs I have > > submitted for years. I'll adjust my process. > > > Are you wanting something like this (assuming done with git diff)? > git diff --no-

Re: [Lldb-commits] [PATCH] D13625: Support RHEL 7 and similar systems that use architecture-specific Python lib dirs.

2015-10-12 Thread Todd Fiala via lldb-commits
tfiala added a comment. > Tell me the diff line you want. I'm doing the same type of diffs I have > submitted for years. I'll adjust my process. Are you wanting something like this (assuming done with git diff)? git diff --no-prefix -U{SOME-REALLY-BIG-NUMBER-GREATER-THAN-NUMBER-OF-LINES-IN-THE

Re: [Lldb-commits] [PATCH] D13625: Support RHEL 7 and similar systems that use architecture-specific Python lib dirs.

2015-10-12 Thread Pavel Labath via lldb-commits
labath added a comment. In http://reviews.llvm.org/D13625#264862, @tfiala wrote: > In http://reviews.llvm.org/D13625#264786, @labath wrote: > > > Could you submit the change with full context next time? It makes review > > much easier. > > > Tell me the diff line you want. I'm doing the same ty

Re: [Lldb-commits] [PATCH] D13555: Cap test threads on Windows to avoid open file limit

2015-10-12 Thread Adrian McCarthy via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL250044: Switch threading mode for tests on Windows when there are lots of cores. (authored by amccarth). Changed prior to commit: http://reviews.llvm.org/D13555?vs=36993&id=37111#toc Repository: rL L

Re: [Lldb-commits] [PATCH] D13625: Support RHEL 7 and similar systems that use architecture-specific Python lib dirs.

2015-10-12 Thread Todd Fiala via lldb-commits
tfiala added a comment. Also - there are some places in the code where the lib dir (as 'lib') is assumed, and those would need to change as well. Including taking note of where it was passed in cmake, which will look something similar to what I did here, but now with the added burden that two

[Lldb-commits] [lldb] r250044 - Switch threading mode for tests on Windows when there are lots of cores.

2015-10-12 Thread Adrian McCarthy via lldb-commits
Author: amccarth Date: Mon Oct 12 09:46:57 2015 New Revision: 250044 URL: http://llvm.org/viewvc/llvm-project?rev=250044&view=rev Log: Switch threading mode for tests on Windows when there are lots of cores. This prevents a "too many files" error. Differential Revision: http://reviews.llvm.org/D1

Re: [Lldb-commits] [PATCH] D13625: Support RHEL 7 and similar systems that use architecture-specific Python lib dirs.

2015-10-12 Thread Todd Fiala via lldb-commits
tfiala added a comment. In http://reviews.llvm.org/D13625#264786, @labath wrote: > Could you submit the change with full context next time? It makes review much > easier. Tell me the diff line you want. I'm doing the same type of diffs I have submitted for years. I'll adjust my process. >

Re: [Lldb-commits] [PATCH] D13334: Preliminary NetBSD support

2015-10-12 Thread Ed Maste via lldb-commits
emaste added a comment. OK by me. I'd also like to see less duplication, but have no objection to this as it is now. Repository: rL LLVM http://reviews.llvm.org/D13334 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.o

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

2015-10-12 Thread Tamas Berghammer via lldb-commits
tberghammer created this revision. tberghammer added reviewers: labath, clayborg. tberghammer added a subscriber: lldb-commits. Change ConstString to support massive multi-threaded access Previously ConstString had a single mutex guarding the global string pool for each access what become a bottl

[Lldb-commits] [lldb] r250038 - dotest.py: Remove useless AttributeError catches

2015-10-12 Thread Pavel Labath via lldb-commits
Author: labath Date: Mon Oct 12 08:42:16 2015 New Revision: 250038 URL: http://llvm.org/viewvc/llvm-project?rev=250038&view=rev Log: dotest.py: Remove useless AttributeError catches Summary: Test decorators were ignoring AttributeError exceptions. These were introduced three years ago, and copie

Re: [Lldb-commits] [PATCH] D13583: dotest.py: Remove useless AttributeError catches

2015-10-12 Thread Pavel Labath via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL250038: dotest.py: Remove useless AttributeError catches (authored by labath). Changed prior to commit: http://reviews.llvm.org/D13583?vs=36933&id=37102#toc Repository: rL LLVM http://reviews.llvm.o

Re: [Lldb-commits] [PATCH] D13625: Support RHEL 7 and similar systems that use architecture-specific Python lib dirs.

2015-10-12 Thread Pavel Labath via lldb-commits
labath requested changes to this revision. labath added a comment. This revision now requires changes to proceed. Could you submit the change with full context next time? It makes review much easier. I don't understand what are you trying to achieve completely, but it feels to me you are trying

Re: [Lldb-commits] [PATCH] D13334: Preliminary NetBSD support

2015-10-12 Thread Pavel Labath via lldb-commits
labath added a comment. I would like to see these platforms merged, but I don't think that is up to me. Feel free to go ahead. Repository: rL LLVM http://reviews.llvm.org/D13334 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://li

Re: [Lldb-commits] [PATCH] D13646: [LLDB] Don't use signo as key in Signals DenseMap, as signo are not unique

2015-10-12 Thread Pavel Labath via lldb-commits
labath added a subscriber: labath. labath added a comment. The fact that LinuxSignals specifies different numbers and dispositions for SIGCHLD and SIGCLD is certainly a bug. If you fix that, then your alternative (2) becomes feasible. I think (2) is a better solution than the current proposed o

Re: [Lldb-commits] [PATCH] D13334: Preliminary NetBSD support

2015-10-12 Thread Bruce Mitchener via lldb-commits
brucem added a comment. My plan is to land this in about 16 hours unless I hear otherwise. (@labath, @tfiala, @emaste) Repository: rL LLVM http://reviews.llvm.org/D13334 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm

[Lldb-commits] [lldb] r250024 - Improve TestValueOfVectorVariable

2015-10-12 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Mon Oct 12 05:33:04 2015 New Revision: 250024 URL: http://llvm.org/viewvc/llvm-project?rev=250024&view=rev Log: Improve TestValueOfVectorVariable * XFAIL it for android arm/aarch64 as watchpoints aren't supported there * Remove the dwarf/dsym test separation as they will

[Lldb-commits] [PATCH] D13646: [LLDB] Don't use signo as key in Signals DenseMap, as signo are not unique

2015-10-12 Thread Mohit Bhakkad via lldb-commits
mohit.bhakkad created this revision. mohit.bhakkad added a reviewer: clayborg. mohit.bhakkad added subscribers: jaydeep, bhushan, sagar, nitesh.jain, lldb-commits. mohit.bhakkad set the repository for this revision to rL LLVM. Herald added a subscriber: emaste. Looking at the keymap generated by

[Lldb-commits] [lldb] r250022 - X86: Change FTAG register size in FXSAVE structure

2015-10-12 Thread Abhishek Aggarwal via lldb-commits
Author: abhishek Date: Mon Oct 12 04:57:00 2015 New Revision: 250022 URL: http://llvm.org/viewvc/llvm-project?rev=250022&view=rev Log: X86: Change FTAG register size in FXSAVE structure Summary: - Changed from 16 bits to 8 bits for Intel Architecture -- FXSAVE structure now conforms with the