Re: [Lldb-commits] [PATCH] D19305: Use Process Plugin register indices when communicating with remote

2016-04-19 Thread Jason Molenda via lldb-commits
jasonmolenda added a comment. This looks good to me. Do you think the ReadRegister decl in GDBRemoteCommunicationClient.h should have a comment noting that the reg_num is a number in the remote register numbering scheme (eRegisterKindProcessPlugin)? When lldb passes around register numbers

[Lldb-commits] [PATCH] D19305: Use Process Plugin register indices when communicating with remote

2016-04-19 Thread Francis Ricci via lldb-commits
fjricci created this revision. fjricci added reviewers: jasonmolenda, clayborg. fjricci added subscribers: sas, lldb-commits. eRegisterKindProcessPlugin is used to store the register indices used by the remote, and eRegisterKindLLDB is used to store the internal lldb register indices. However,

Re: [Lldb-commits] [PATCH] D19303: Maintain register numbering across xml include features

2016-04-19 Thread Greg Clayton via lldb-commits
clayborg accepted this revision. clayborg added a comment. This revision is now accepted and ready to land. Looks good. http://reviews.llvm.org/D19303 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [PATCH] D19303: Maintain register numbering across xml include features

2016-04-19 Thread Francis Ricci via lldb-commits
fjricci created this revision. fjricci added reviewers: jingham, clayborg, jasonmolenda. fjricci added subscribers: sas, lldb-commits. If the remote uses include features when communicating xml register info back to lldb, the existing code would reset the lldb register index at the beginning of

Re: [Lldb-commits] [lldb] r266832 - llvm::sys::path::home_directory() relies on having "HOME" set in the environment and that might not always be set. Our FileSpec class uses this function to resolve

2016-04-19 Thread Zachary Turner via lldb-commits
This is going to break the windows build, as getpwuid doesnt exist. Can you wrap this? As an aside, why not submit a patch to the llvm function instead, it makes more sense there On Tue, Apr 19, 2016 at 4:10 PM Greg Clayton via lldb-commits < lldb-commits@lists.llvm.org> wrote: > Author:

[Lldb-commits] [lldb] r266832 - llvm::sys::path::home_directory() relies on having "HOME" set in the environment and that might not always be set. Our FileSpec class uses this function to resolve any

2016-04-19 Thread Greg Clayton via lldb-commits
Author: gclayton Date: Tue Apr 19 18:04:35 2016 New Revision: 266832 URL: http://llvm.org/viewvc/llvm-project?rev=266832=rev Log: llvm::sys::path::home_directory() relies on having "HOME" set in the environment and that might not always be set. Our FileSpec class uses this function to resolve

[Lldb-commits] [lldb] r266815 - Eliminate circular dependency introduced between lldbtest.py and decorators.py

2016-04-19 Thread Kate Stone via lldb-commits
Author: kate Date: Tue Apr 19 15:45:47 2016 New Revision: 266815 URL: http://llvm.org/viewvc/llvm-project?rev=266815=rev Log: Eliminate circular dependency introduced between lldbtest.py and decorators.py Modified: lldb/trunk/packages/Python/lldbsuite/test/decorators.py Modified:

Re: [Lldb-commits] [PATCH] D19086: [clang-analyzer] fix warnings emitted on lldb code base

2016-04-19 Thread Greg Clayton via lldb-commits
clayborg accepted this revision. clayborg added a comment. These all look fine. http://reviews.llvm.org/D19086 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] r266791 - Adds a test to detect when clang omits specialized generic types from debug information when using precompiled headers and -gmodules.

2016-04-19 Thread Kate Stone via lldb-commits
Author: kate Date: Tue Apr 19 13:20:11 2016 New Revision: 266791 URL: http://llvm.org/viewvc/llvm-project?rev=266791=rev Log: Adds a test to detect when clang omits specialized generic types from debug information when using precompiled headers and -gmodules. Added:

[Lldb-commits] [PATCH] D19273: Update Go OS Plugin for newer runtimes

2016-04-19 Thread Ryan Brown via lldb-commits
ribrdb created this revision. ribrdb added a subscriber: lldb-commits. ribrdb set the repository for this revision to rL LLVM. Repository: rL LLVM http://reviews.llvm.org/D19273 Files: source/Plugins/OperatingSystem/Go/OperatingSystemGo.cpp Index:

Re: [Lldb-commits] [PATCH] D19214: fix a race is the LLDB test suite results collection

2016-04-19 Thread Todd Fiala via lldb-commits
tfiala added a comment. If you're in a position where you can grab a sample (using the OS X sample tool) on the bot when they're "hanging", we can try to find out where they are at. The reason I *think* they're not in a method is because they don't have test method information associated with

Re: [Lldb-commits] [PATCH] D19214: fix a race is the LLDB test suite results collection

2016-04-19 Thread Pavel Labath via lldb-commits
labath added a comment. In http://reviews.llvm.org/D19214#405204, @tfiala wrote: > Okay I just looked at those, Pavel. > > They fall into a category that I know is not yet handled. This is the > category: > > - No test method is "open" (i.e. the dotest.py inferior is not in between a >

Re: [Lldb-commits] [PATCH] D19252: Handle invalid values of PLT entry size generated by ld + gcc on arm linux targets.

2016-04-19 Thread Greg Clayton via lldb-commits
clayborg accepted this revision. clayborg added a comment. This revision is now accepted and ready to land. As long as PLT entries can't possibly be 4 bytes, then this is OK. Another way to fix this would be to make a "CheckPLTSize()" function that checks the architecture of the file, or just

Re: [Lldb-commits] [PATCH] D19214: fix a race is the LLDB test suite results collection

2016-04-19 Thread Todd Fiala via lldb-commits
tfiala added a comment. I filed this bug to track it: https://llvm.org/bugs/show_bug.cgi?id=27423 http://reviews.llvm.org/D19214 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D19214: fix a race is the LLDB test suite results collection

2016-04-19 Thread Todd Fiala via lldb-commits
tfiala added a comment. Okay I just looked at those, Pavel. They fall into a category that I know is not yet handled. This is the category: - No test method is "open" (i.e. the dotest.py inferior is not in between a start_test/end_test) when the timeout occurs. Thus, we cannot "charge" the

Re: [Lldb-commits] [PATCH] D19214: fix a race is the LLDB test suite results collection

2016-04-19 Thread Todd Fiala via lldb-commits
tfiala added a comment. Interesting, thanks Pavel! I'll look at those as I start looking to test the test infrastructure. http://reviews.llvm.org/D19214 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

Re: [Lldb-commits] [PATCH] D19122: LLDB: Fixed race condition on timeout when stopping private state thread

2016-04-19 Thread Cameron via lldb-commits
cameron314 added a comment. Hmm, that's not good. No, I don't have a Linux machine set up. I can set up a VM but if you already have the dumps/logs it would be faster to start with those. Thanks! Repository: rL LLVM http://reviews.llvm.org/D19122

[Lldb-commits] [lldb] r266736 - Revert "LLDB: Fixed two race conditions when stopping private state thread"

2016-04-19 Thread Pavel Labath via lldb-commits
Author: labath Date: Tue Apr 19 09:03:43 2016 New Revision: 266736 URL: http://llvm.org/viewvc/llvm-project?rev=266736=rev Log: Revert "LLDB: Fixed two race conditions when stopping private state thread" This reverts commit r266733 as it causes a number of failures on linux buildbots.

Re: [Lldb-commits] [PATCH] D19122: LLDB: Fixed race condition on timeout when stopping private state thread

2016-04-19 Thread Pavel Labath via lldb-commits
labath added a subscriber: labath. labath added a comment. Hi, I have reverted this as it was causing a number of failures on the linux build bot http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-cmake/builds/13585. I think we'll need to investigate them before putting this in. Do

Re: [Lldb-commits] [PATCH] D19122: LLDB: Fixed race condition on timeout when stopping private state thread

2016-04-19 Thread Marianne Mailhot-Sarrasin via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL266733: LLDB: Fixed two race conditions when stopping private state thread (authored by mamai). Changed prior to commit: http://reviews.llvm.org/D19122?vs=54098=54185#toc Repository: rL LLVM

[Lldb-commits] [lldb] r266733 - LLDB: Fixed two race conditions when stopping private state thread

2016-04-19 Thread Marianne Mailhot-Sarrasin via lldb-commits
Author: mamai Date: Tue Apr 19 08:21:46 2016 New Revision: 266733 URL: http://llvm.org/viewvc/llvm-project?rev=266733=rev Log: LLDB: Fixed two race conditions when stopping private state thread When stopping the private state thread, there was a race condition between the time the thread exits

Re: [Lldb-commits] [PATCH] D19230: Properly unload modules from target image list when using svr4 packets

2016-04-19 Thread Aidan Dodds via lldb-commits
ADodds accepted this revision. ADodds added a comment. Looks fine to me. http://reviews.llvm.org/D19230 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] r266725 - Fix typo in TestSourceManager.py

2016-04-19 Thread Pavel Labath via lldb-commits
Author: labath Date: Tue Apr 19 04:31:14 2016 New Revision: 266725 URL: http://llvm.org/viewvc/llvm-project?rev=266725=rev Log: Fix typo in TestSourceManager.py Modified: lldb/trunk/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py Modified:

Re: [Lldb-commits] [PATCH] D19214: fix a race is the LLDB test suite results collection

2016-04-19 Thread Pavel Labath via lldb-commits
labath added a comment. BTW, we are still seeing these fake timeouts on our buildbot http://lab.llvm.org:8011/builders/lldb-x86_64-darwin-13.4/builds/9770, so I am not sure if this actually fixed the problem. It could be that this is actually a different problem, but it does fit your