[Lldb-commits] [lldb] r302027 - Don't attempt to use mpx registers on unsupported platforms

2017-05-03 Thread Francis Ricci via lldb-commits
Author: fjricci Date: Wed May 3 10:00:04 2017 New Revision: 302027 URL: http://llvm.org/viewvc/llvm-project?rev=302027&view=rev Log: Don't attempt to use mpx registers on unsupported platforms Summary: The existing cpp-level checks using PR_MPX_ENABLE_MANAGEMENT aren't sufficient, as this isn't

[Lldb-commits] [lldb] r302260 - Add missing 'arch' key to valid qHostInfo keys

2017-05-05 Thread Francis Ricci via lldb-commits
Author: fjricci Date: Fri May 5 12:18:08 2017 New Revision: 302260 URL: http://llvm.org/viewvc/llvm-project?rev=302260&view=rev Log: Add missing 'arch' key to valid qHostInfo keys Summary: 'arch' is a valid qHostInfo key, but the unit test for qHostInfo did not include it in the set of possible

[Lldb-commits] [lldb] r313537 - Use ThreadLauncher to launch TaskPool threads

2017-09-18 Thread Francis Ricci via lldb-commits
Author: fjricci Date: Mon Sep 18 08:18:48 2017 New Revision: 313537 URL: http://llvm.org/viewvc/llvm-project?rev=313537&view=rev Log: Use ThreadLauncher to launch TaskPool threads Summary: This allows for the stack size to be configured, which isn't possible with std::thread. Prevents overflowing

[Lldb-commits] [lldb] r313539 - Revert "Use ThreadLauncher to launch TaskPool threads"

2017-09-18 Thread Francis Ricci via lldb-commits
Author: fjricci Date: Mon Sep 18 08:43:59 2017 New Revision: 313539 URL: http://llvm.org/viewvc/llvm-project?rev=313539&view=rev Log: Revert "Use ThreadLauncher to launch TaskPool threads" This reverts commit r313537 because it fails to link on linux buildbots Modified: lldb/trunk/source/Uti

[Lldb-commits] [lldb] r313637 - Use ThreadLauncher to launch TaskPool threads

2017-09-19 Thread Francis Ricci via lldb-commits
Author: fjricci Date: Tue Sep 19 08:38:30 2017 New Revision: 313637 URL: http://llvm.org/viewvc/llvm-project?rev=313637&view=rev Log: Use ThreadLauncher to launch TaskPool threads Summary: This allows for the stack size to be configured, which isn't possible with std::thread. Prevents overflowing

[Lldb-commits] [lldb] r313642 - Fix build of TaskPoolTest with xcodebuild

2017-09-19 Thread Francis Ricci via lldb-commits
Author: fjricci Date: Tue Sep 19 10:13:39 2017 New Revision: 313642 URL: http://llvm.org/viewvc/llvm-project?rev=313642&view=rev Log: Fix build of TaskPoolTest with xcodebuild Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj URL: http:/

[Lldb-commits] [lldb] r283491 - Fix GetDisplayName when only a demangled name is available

2016-10-06 Thread Francis Ricci via lldb-commits
Author: fjricci Date: Thu Oct 6 15:41:11 2016 New Revision: 283491 URL: http://llvm.org/viewvc/llvm-project?rev=283491&view=rev Log: Fix GetDisplayName when only a demangled name is available Summary: GetDisplayDemangledName will already return a ConstString() when there is neither a mangled nam

[Lldb-commits] [PATCH] D25201: Fix GetDisplayName when only a demangled name is available

2016-10-06 Thread Francis Ricci via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL283491: Fix GetDisplayName when only a demangled name is available (authored by fjricci). Changed prior to commit: https://reviews.llvm.org/D25201?vs=73307&id=73847#toc Repository: rL LLVM https://r

[Lldb-commits] [PATCH] D19557: Use absolute module path when possible if sent in svr4 packets

2016-04-26 Thread Francis Ricci via lldb-commits
fjricci created this revision. fjricci added reviewers: ovyalov, ADodds, jasonmolenda, clayborg. fjricci added subscribers: sas, lldb-commits. If the remote uses svr4 packets to communicate library info, the LoadUnload tests will fail, as lldb only used the basename for modules, causing problems w

[Lldb-commits] [lldb] r267741 - Use absolute module path when possible if sent in svr4 packets

2016-04-27 Thread Francis Ricci via lldb-commits
Author: fjricci Date: Wed Apr 27 12:10:15 2016 New Revision: 267741 URL: http://llvm.org/viewvc/llvm-project?rev=267741&view=rev Log: Use absolute module path when possible if sent in svr4 packets Summary: If the remote uses svr4 packets to communicate library info, the LoadUnload tests will fail

Re: [Lldb-commits] [PATCH] D19557: Use absolute module path when possible if sent in svr4 packets

2016-04-27 Thread Francis Ricci via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL267741: Use absolute module path when possible if sent in svr4 packets (authored by fjricci). Changed prior to commit: http://reviews.llvm.org/D19557?vs=55083&id=55253#toc Repository: rL LLVM http:/

[Lldb-commits] [PATCH] D19608: Checkout release_38 branches of llvm and clang when building lldb 3.8

2016-04-27 Thread Francis Ricci via lldb-commits
fjricci created this revision. fjricci added reviewers: clayborg, jasonmolenda. fjricci added subscribers: hans, sas, lldb-commits. This commit is intended only for the release_38 branch, not for master. Fixes xcodebuild for the release_38 branch, since llvm and clang must be on the same branch a

[Lldb-commits] [PATCH] D19633: Move TestCommandScriptImmediateOutput from PExpectTest to TestBase

2016-04-27 Thread Francis Ricci via lldb-commits
fjricci created this revision. fjricci added reviewers: granata.enrico, zturner. fjricci added subscribers: sas, lldb-commits. This should make TestCommandScriptImmediateOutput more consistent with the rest of the test suite. http://reviews.llvm.org/D19633 Files: packages/Python/lldbsuite/tes

Re: [Lldb-commits] [PATCH] D19633: Move TestCommandScriptImmediateOutput from PExpectTest to TestBase

2016-04-27 Thread Francis Ricci via lldb-commits
fjricci updated this revision to Diff 55340. fjricci added a comment. Remove windows expected failure http://reviews.llvm.org/D19633 Files: packages/Python/lldbsuite/test/functionalities/command_script_immediate_output/TestCommandScriptImmediateOutput.py Index: packages/Python/lldbsuite/te

Re: [Lldb-commits] [PATCH] D19633: Move TestCommandScriptImmediateOutput from PExpectTest to TestBase

2016-04-27 Thread Francis Ricci via lldb-commits
fjricci added a comment. As of r264351, this test already writes to both the console and to files (since the file writing is testing the same python file io bugs tested by the console writing). I can make another patch to split it out if that's preferable. However, this patch is intended to mov

Re: [Lldb-commits] [PATCH] D19633: Move TestCommandScriptImmediateOutput from PExpectTest to TestBase

2016-04-28 Thread Francis Ricci via lldb-commits
fjricci abandoned this revision. fjricci added a comment. Ok, I'll put up a new revision to split out the test cases. http://reviews.llvm.org/D19633 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/list

Re: [Lldb-commits] [PATCH] D19633: Move TestCommandScriptImmediateOutput from PExpectTest to TestBase

2016-04-28 Thread Francis Ricci via lldb-commits
fjricci added a comment. Would it be acceptable to split it into two test methods inside the same test case? Both are testing writing immediate output from a command script, just one is immediate output to the console and the other is immediate output to a file. http://reviews.llvm.org/D19633

Re: [Lldb-commits] [PATCH] D19633: Move TestCommandScriptImmediateOutput from PExpectTest to TestBase

2016-04-28 Thread Francis Ricci via lldb-commits
fjricci added a comment. Oh I see. I don't think the file-writing is going to work in the PExpect mode (for some reason, it looks like the sendline calls aren't always being received/processed correctly by lldb, while runCmd works fine), so it's probably better to split out into a different tes

Re: [Lldb-commits] [PATCH] D19633: Move TestCommandScriptImmediateOutput from PExpectTest to TestBase

2016-04-28 Thread Francis Ricci via lldb-commits
fjricci added a comment. I do observe the sendline() behavior on OSX, but only when I cherry-pick these bug-fixes onto the 3.8 branch. It seems to work fine on master. http://reviews.llvm.org/D19633 ___ lldb-commits mailing list lldb-commits@lists.

[Lldb-commits] [PATCH] D19690: Split out console and file writing cases in TestCommandScriptImmediateOutput

2016-04-28 Thread Francis Ricci via lldb-commits
fjricci created this revision. fjricci added reviewers: zturner, granata.enrico, clayborg. fjricci added a subscriber: lldb-commits. As these are really testing separate issues, they should be run as separate tests. http://reviews.llvm.org/D19690 Files: packages/Python/lldbsuite/test/function

Re: [Lldb-commits] [PATCH] D19690: Split out console and file writing cases in TestCommandScriptImmediateOutput

2016-04-29 Thread Francis Ricci via lldb-commits
fjricci added inline comments. Comment at: packages/Python/lldbsuite/test/functionalities/command_script_immediate_output/TestCommandScriptImmediateOutput.py:29 @@ -30,1 +28,3 @@ +"""Test that LLDB correctly allows scripted commands to set immediate output to the console

Re: [Lldb-commits] [PATCH] D19690: Split out console and file writing cases in TestCommandScriptImmediateOutput

2016-04-29 Thread Francis Ricci via lldb-commits
fjricci updated this revision to Diff 55619. fjricci added a comment. Update timeout to 10 seconds for console case http://reviews.llvm.org/D19690 Files: packages/Python/lldbsuite/test/functionalities/command_script_immediate_output/TestCommandScriptImmediateOutput.py Index: packages/Pytho

[Lldb-commits] [lldb] r268397 - Split out console and file writing cases in TestCommandScriptImmediateOutput

2016-05-03 Thread Francis Ricci via lldb-commits
Author: fjricci Date: Tue May 3 11:31:36 2016 New Revision: 268397 URL: http://llvm.org/viewvc/llvm-project?rev=268397&view=rev Log: Split out console and file writing cases in TestCommandScriptImmediateOutput Summary: As these are really testing separate issues, they should be run as separate t

Re: [Lldb-commits] [PATCH] D19690: Split out console and file writing cases in TestCommandScriptImmediateOutput

2016-05-03 Thread Francis Ricci via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL268397: Split out console and file writing cases in TestCommandScriptImmediateOutput (authored by fjricci). Changed prior to commit: http://reviews.llvm.org/D19690?vs=55619&id=56020#toc Repository: r

Re: [Lldb-commits] [PATCH] D19608: Checkout release_38 branches of llvm and clang when building lldb 3.8

2016-05-19 Thread Francis Ricci via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL270065: Checkout release_38 branches of llvm and clang when building lldb 3.8 (authored by fjricci). Changed prior to commit: http://reviews.llvm.org/D19608?vs=55274&id=57791#toc Repository: rL LLVM

[Lldb-commits] [PATCH] D20509: Skip leading spaces when decoding hex values

2016-05-21 Thread Francis Ricci via lldb-commits
fjricci created this revision. fjricci added reviewers: vharron, clayborg, jasonmolenda. fjricci added a subscriber: lldb-commits. The StringExtractor functions using stroull will already skip leading whitespace (ie GetU64). Make sure that the manual hex parsing functions also skip leading whitesp

Re: [Lldb-commits] [PATCH] D20509: Skip leading spaces when decoding hex values

2016-05-24 Thread Francis Ricci via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL270592: Skip leading spaces when decoding hex values (authored by fjricci). Changed prior to commit: http://reviews.llvm.org/D20509?vs=58041&id=58277#toc Repository: rL LLVM http://reviews.llvm.org/

[Lldb-commits] [lldb] r270592 - Skip leading spaces when decoding hex values

2016-05-24 Thread Francis Ricci via lldb-commits
Author: fjricci Date: Tue May 24 13:19:45 2016 New Revision: 270592 URL: http://llvm.org/viewvc/llvm-project?rev=270592&view=rev Log: Skip leading spaces when decoding hex values Summary: The StringExtractor functions using stroull will already skip leading whitespace (ie GetU64). Make sure that

[Lldb-commits] [PATCH] D20990: Don't remove PIE executables when using svr4 packets

2016-06-03 Thread Francis Ricci via lldb-commits
fjricci created this revision. fjricci added reviewers: clayborg, ADodds, tfiala. fjricci added a subscriber: lldb-commits. Because PIE executables have an e_type of llvm::ELF::ET_DYN, they are not of type eTypeExecutable, and were being removed when svr4 packets were used. http://reviews.llvm.or

Re: [Lldb-commits] [PATCH] D20990: Don't remove PIE executables when using svr4 packets

2016-06-03 Thread Francis Ricci via lldb-commits
fjricci updated this revision to Diff 59633. fjricci added a comment. Fix curly-brace style http://reviews.llvm.org/D20990 Files: source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp Index: source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp =

Re: [Lldb-commits] [PATCH] D20990: Don't remove PIE executables when using svr4 packets

2016-06-03 Thread Francis Ricci via lldb-commits
fjricci updated this revision to Diff 59637. fjricci added a comment. Refactor to remove unnecessary object file type checking http://reviews.llvm.org/D20990 Files: source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp Index: source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp ==

[Lldb-commits] [lldb] r271899 - Don't remove PIE executables when using svr4 packets

2016-06-06 Thread Francis Ricci via lldb-commits
Author: fjricci Date: Mon Jun 6 10:00:50 2016 New Revision: 271899 URL: http://llvm.org/viewvc/llvm-project?rev=271899&view=rev Log: Don't remove PIE executables when using svr4 packets Summary: Because PIE executables have an e_type of llvm::ELF::ET_DYN, they are not of type eTypeExecutable, an

Re: [Lldb-commits] [PATCH] D20990: Don't remove PIE executables when using svr4 packets

2016-06-06 Thread Francis Ricci via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL271899: Don't remove PIE executables when using svr4 packets (authored by fjricci). Changed prior to commit: http://reviews.llvm.org/D20990?vs=59637&id=59723#toc Repository: rL LLVM http://reviews.l

[Lldb-commits] [PATCH] D21422: Fix typo in eOpenOptionDontFollowSymlinks

2016-06-15 Thread Francis Ricci via lldb-commits
fjricci created this revision. fjricci added reviewers: clayborg, labath. fjricci added a subscriber: lldb-commits. Fix capitalization http://reviews.llvm.org/D21422 Files: include/lldb/Host/File.h source/Host/common/File.cpp source/Target/Platform.cpp Index: source/Target/Platform.cpp ==

Re: [Lldb-commits] [PATCH] D21422: Fix typo in eOpenOptionDontFollowSymlinks

2016-06-20 Thread Francis Ricci via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL273225: Fix typo in eOpenOptionDontFollowSymlinks (authored by fjricci). Changed prior to commit: http://reviews.llvm.org/D21422?vs=60937&id=61325#toc Repository: rL LLVM http://reviews.llvm.org/D21

[Lldb-commits] [lldb] r273225 - Fix typo in eOpenOptionDontFollowSymlinks

2016-06-20 Thread Francis Ricci via lldb-commits
Author: fjricci Date: Mon Jun 20 19:03:57 2016 New Revision: 273225 URL: http://llvm.org/viewvc/llvm-project?rev=273225&view=rev Log: Fix typo in eOpenOptionDontFollowSymlinks Summary: Fix capitalization Reviewers: labath, sas, clayborg Subscribers: lldb-commits Differential Revision: http://r

[Lldb-commits] [PATCH] D21648: Make sure to reset to correct platform after TestImageListMultiArchitecture

2016-06-23 Thread Francis Ricci via lldb-commits
fjricci created this revision. fjricci added reviewers: clayborg, tfiala, zturner. fjricci added subscribers: lldb-commits, sas. When running the test suite in platform mode, this test would use 'platform select host', which would cause the rest of the suite to stop running in platform mode. Ins

[Lldb-commits] [PATCH] D21649: Don't create unnecessary remote platforms

2016-06-23 Thread Francis Ricci via lldb-commits
fjricci created this revision. fjricci added reviewers: clayborg, jingham, vharron. fjricci added subscribers: sas, lldb-commits. When using 'platform select', re-use an existing platform which matches the remote platform specs, rather than creating a new one. Without this patch, repeating the fo

Re: [Lldb-commits] [PATCH] D21649: Don't create unnecessary remote platforms

2016-06-23 Thread Francis Ricci via lldb-commits
fjricci planned changes to this revision. fjricci added a comment. This will fail in the case where the remote-platform server dies, as lldb will not cleanup its data structures. I'll investigate how to make sure the platform is alive before connecting to it. http://reviews.llvm.org/D21649

Re: [Lldb-commits] [PATCH] D21649: Don't create unnecessary remote platforms

2016-06-23 Thread Francis Ricci via lldb-commits
fjricci added a comment. As I'm poking through the APIs, I found that platform_sp->IsConnected() will return true even if the remote server has been killed since connecting (at least on remote-linux with lldb-server in platform mode). Is this the expected behavior of that set of functions? ht

Re: [Lldb-commits] [PATCH] D21649: Don't create unnecessary remote platforms

2016-06-23 Thread Francis Ricci via lldb-commits
fjricci added a comment. Although, given your comments about the ios platforms, IsConnected() doesn't seem like the right API to use anyway... http://reviews.llvm.org/D21649 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llv

Re: [Lldb-commits] [PATCH] D21649: Don't create unnecessary remote platforms

2016-06-23 Thread Francis Ricci via lldb-commits
fjricci abandoned this revision. fjricci added a comment. I don't think that we can assume that the user always wants to re-use an existing platform, even of the same type. Probably the only way to resolve the problem this tries to fix would be to add a command to display all connected platform

Re: [Lldb-commits] [PATCH] D21648: Make sure to reset to correct platform after TestImageListMultiArchitecture

2016-06-23 Thread Francis Ricci via lldb-commits
fjricci planned changes to this revision. fjricci added a comment. This fix does not work without something along the lines of http://reviews.llvm.org/D21649, I'll re-upload with a better fix. http://reviews.llvm.org/D21648 ___ lldb-commits mailing

Re: [Lldb-commits] [PATCH] D21648: Make sure to reset to correct platform after TestImageListMultiArchitecture

2016-06-23 Thread Francis Ricci via lldb-commits
fjricci updated this revision to Diff 61717. fjricci added a comment. This revision is now accepted and ready to land. Disconnect from existing platform connection to prevent extra hanging connections This is good practice on all debug servers, and required for debug servers which can't handle m

Re: [Lldb-commits] [PATCH] D21648: Make sure to reset to correct platform after TestImageListMultiArchitecture

2016-06-23 Thread Francis Ricci via lldb-commits
fjricci added a comment. I was wondering that as well. I thought there might be some value to testing that the "disconnect->change platform->reconnect" path worked though. I have no problem disabling if that doesn't seem useful though. http://reviews.llvm.org/D21648

Re: [Lldb-commits] [PATCH] D21648: Make sure to reset to correct platform after TestImageListMultiArchitecture

2016-06-23 Thread Francis Ricci via lldb-commits
fjricci planned changes to this revision. fjricci added a comment. That's reasonable, will do. http://reviews.llvm.org/D21648 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D21648: Make sure to reset to correct platform after TestImageListMultiArchitecture

2016-06-24 Thread Francis Ricci via lldb-commits
fjricci updated this revision to Diff 61803. fjricci added a comment. This revision is now accepted and ready to land. Skip test on remote platforms http://reviews.llvm.org/D21648 Files: packages/Python/lldbsuite/test/functionalities/object-file/TestImageListMultiArchitecture.py Index: pac

[Lldb-commits] [lldb] r273720 - Don't run TestImageListMultiArchitecture during remote test suite

2016-06-24 Thread Francis Ricci via lldb-commits
Author: fjricci Date: Fri Jun 24 15:44:23 2016 New Revision: 273720 URL: http://llvm.org/viewvc/llvm-project?rev=273720&view=rev Log: Don't run TestImageListMultiArchitecture during remote test suite Reviewers: zturner, clayborg, tfiala Subscribers: sas, lldb-commits Differential Revision: http

Re: [Lldb-commits] [PATCH] D21648: Don't run TestImageListMultiArchitecture during remote test suite

2016-06-24 Thread Francis Ricci via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL273720: Don't run TestImageListMultiArchitecture during remote test suite (authored by fjricci). Changed prior to commit: http://reviews.llvm.org/D21648?vs=61803&id=61831#toc Repository: rL LLVM htt

[Lldb-commits] [PATCH] D21906: Skip TestDisassembleRawData when remote

2016-06-30 Thread Francis Ricci via lldb-commits
fjricci created this revision. fjricci added reviewers: clayborg, zturner, spyffe. fjricci added a subscriber: lldb-commits. As this test will create a new target, it will cause all following tests to fail when running in platform mode, if the new target does not match the existing architecture (f

[Lldb-commits] [lldb] r274364 - Skip TestDisassembleRawData when remote

2016-07-01 Thread Francis Ricci via lldb-commits
Author: fjricci Date: Fri Jul 1 11:47:44 2016 New Revision: 274364 URL: http://llvm.org/viewvc/llvm-project?rev=274364&view=rev Log: Skip TestDisassembleRawData when remote Summary: As this test will create a new target, it will cause all following tests to fail when running in platform mode, if

Re: [Lldb-commits] [PATCH] D21906: Skip TestDisassembleRawData when remote

2016-07-01 Thread Francis Ricci via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL274364: Skip TestDisassembleRawData when remote (authored by fjricci). Changed prior to commit: http://reviews.llvm.org/D21906?vs=62406&id=62504#toc Repository: rL LLVM http://reviews.llvm.org/D2190

[Lldb-commits] [PATCH] D22294: Add functionality for rewriting symbols

2016-07-12 Thread Francis Ricci via lldb-commits
fjricci created this revision. fjricci added reviewers: clayborg, lattner. fjricci added subscribers: sas, lldb-commits. Herald added a subscriber: kubabrecka. Clang supports symbol rewrites via the -frewrite-map-file flag, this patch adds complementary functionality in lldb. Re-written symbols a

Re: [Lldb-commits] [PATCH] D22294: Add functionality for rewriting symbols

2016-07-13 Thread Francis Ricci via lldb-commits
fjricci marked 3 inline comments as done. Comment at: packages/Python/lldbsuite/test/lang/c/symbol_rewriter/TestSymbolRewriter.py:28 @@ +27,3 @@ +# Clang does not rewrite dwarf debug info, so it must be stripped +subprocess.check_call(['strip', '-g', exe]) + -

Re: [Lldb-commits] [PATCH] D22294: Add functionality for rewriting symbols

2016-07-13 Thread Francis Ricci via lldb-commits
fjricci updated this revision to Diff 63816. fjricci marked an inline comment as done. fjricci added a comment. Fix const SP and update unit test Will now only run the unit test as a dwarf test (with -g0), but since we don't want to test the debug data anyway, this shouldn't be an issue, and avoi

Re: [Lldb-commits] [PATCH] D22294: Add functionality for rewriting symbols

2016-07-13 Thread Francis Ricci via lldb-commits
fjricci added a comment. @clayborg: As you saw when running the test with debug info enabled, we might end up calling the non-rewritten `putchar()`, which is due to the compiler emitting debug symbols with the non-rewritten name. The `-g0` option is just a workaround until we can fix that. I s

[Lldb-commits] [lldb] r276166 - Fix typo in test runner

2016-07-20 Thread Francis Ricci via lldb-commits
Author: fjricci Date: Wed Jul 20 14:37:31 2016 New Revision: 276166 URL: http://llvm.org/viewvc/llvm-project?rev=276166&view=rev Log: Fix typo in test runner Modified: lldb/trunk/packages/Python/lldbsuite/test/decorators.py Modified: lldb/trunk/packages/Python/lldbsuite/test/decorators.py UR

[Lldb-commits] [PATCH] D24629: Allow for tests to be disabled at runtime

2016-09-15 Thread Francis Ricci via lldb-commits
fjricci created this revision. fjricci added reviewers: zturner, labath, tfiala. fjricci added subscribers: lldb-commits, sas. The current implementation of the test suite allows the user to run a certain subset of tests using '-p', but does not allow the inverse, where a user wants to run all but

Re: [Lldb-commits] [PATCH] D24629: Allow for tests to be disabled at runtime

2016-09-15 Thread Francis Ricci via lldb-commits
fjricci added a comment. The issue is that you can only commit a patch to xfail a test that fails when you run the test suite on master with no local changes. The problem is that if you run into test failures on other branches or in unconventional configurations, there is no good way to disable

Re: [Lldb-commits] [PATCH] D24629: Allow for tests to be disabled at runtime

2016-09-16 Thread Francis Ricci via lldb-commits
fjricci updated this revision to Diff 71651. fjricci added a comment. Refactor re https://reviews.llvm.org/D24629 Files: packages/Python/lldbsuite/test/configuration.py packages/Python/lldbsuite/test/dotest.py packages/Python/lldbsuite/test/dotest_args.py packages/Python/lldbsuite/test/

Re: [Lldb-commits] [PATCH] D24629: Allow for tests to be disabled at runtime

2016-09-16 Thread Francis Ricci via lldb-commits
fjricci added a comment. I do understand the complexity problem, and it was one of my concerns with this as well. For my cases, the complexity here is significantly less than the alternatives, but I also do understand if you don't think that's generally true. It probably comes down to how often

Re: [Lldb-commits] [PATCH] D24629: Allow for tests to be disabled at runtime

2016-09-23 Thread Francis Ricci via lldb-commits
fjricci added a comment. In https://reviews.llvm.org/D24629#550823, @tfiala wrote: > > > There is no reasonable thing we can base the expectation as the exact > > > same device with a different cpu revision could support watchpoints just > > > fine, so we could just define the list of these tes

Re: [Lldb-commits] [PATCH] D24629: Allow for tests to be disabled at runtime

2016-09-23 Thread Francis Ricci via lldb-commits
fjricci added a comment. Ok. Barring objections from anyone else, I'll merge this later on today then, with the understanding that if it causes issues like the ones you describe, it should be reverted. https://reviews.llvm.org/D24629 ___ lldb-comm

Re: [Lldb-commits] [PATCH] D24629: Allow for tests to be disabled at runtime

2016-09-23 Thread Francis Ricci via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL282298: Allow for tests to be disabled at runtime (authored by fjricci). Changed prior to commit: https://reviews.llvm.org/D24629?vs=71651&id=72360#toc Repository: rL LLVM https://reviews.llvm.org/D

[Lldb-commits] [lldb] r282298 - Allow for tests to be disabled at runtime

2016-09-23 Thread Francis Ricci via lldb-commits
Author: fjricci Date: Fri Sep 23 16:32:47 2016 New Revision: 282298 URL: http://llvm.org/viewvc/llvm-project?rev=282298&view=rev Log: Allow for tests to be disabled at runtime Summary: The current implementation of the test suite allows the user to run a certain subset of tests using '-p', but do

[Lldb-commits] [PATCH] D24988: Improvements to testing blacklist

2016-09-27 Thread Francis Ricci via lldb-commits
fjricci created this revision. fjricci added reviewers: zturner, labath, tfiala, jingham. fjricci added subscribers: sas, lldb-commits. This patch is necessary because individual test cases are not required to have unique names. Therefore, test cases must now be specified explicitly in the form ..

[Lldb-commits] [PATCH] D24988: Improvements to testing blacklist

2016-10-03 Thread Francis Ricci via lldb-commits
fjricci added a comment. Since this is strictly an improvement and simplification, and won't break anyone's workflow because it's still a new feature, I'll plan on merging this tomorrow unless I hear any objections. https://reviews.llvm.org/D24988 ___

[Lldb-commits] [PATCH] D24988: Improvements to testing blacklist

2016-10-03 Thread Francis Ricci via lldb-commits
fjricci added a comment. The problem with the existing code is that file names are required to be unique, but method names are not. So if the user wants to disable an individual test method with a non-unique name, there is no way to do so. This patch still allows the tests to be disabled by fil

[Lldb-commits] [PATCH] D24988: Improvements to testing blacklist

2016-10-03 Thread Francis Ricci via lldb-commits
fjricci added a comment. For an example of something that couldn't be disabled with the original implementation, consider a test like: `CreateDuringStepTestCase.test_step_inst` Disabling by method name (`test_step_inst`) would also disable `CreateDuringInstructionStepTestCase.test_step_inst`.

[Lldb-commits] [PATCH] D24988: Improvements to testing blacklist

2016-10-03 Thread Francis Ricci via lldb-commits
fjricci added a comment. In https://reviews.llvm.org/D24988#559775, @tfiala wrote: > In https://reviews.llvm.org/D24988#559314, @fjricci wrote: > > > For an example of something that couldn't be disabled with the original > > implementation, consider a test like: > > > > `CreateDuringStepTestCas

[Lldb-commits] [PATCH] D24988: Improvements to testing blacklist

2016-10-03 Thread Francis Ricci via lldb-commits
fjricci updated this revision to Diff 73362. fjricci added a comment. Match against filename + test case + method name https://reviews.llvm.org/D24988 Files: packages/Python/lldbsuite/test/configuration.py packages/Python/lldbsuite/test/dotest.py packages/Python/lldbsuite/test/dotest_args

[Lldb-commits] [PATCH] D24988: Improvements to testing blacklist

2016-10-03 Thread Francis Ricci via lldb-commits
fjricci updated this revision to Diff 73363. fjricci added a comment. Fix typo https://reviews.llvm.org/D24988 Files: packages/Python/lldbsuite/test/configuration.py packages/Python/lldbsuite/test/dotest.py packages/Python/lldbsuite/test/dotest_args.py packages/Python/lldbsuite/test/tes

[Lldb-commits] [lldb] r283238 - Improvements to testing blacklist

2016-10-04 Thread Francis Ricci via lldb-commits
Author: fjricci Date: Tue Oct 4 13:48:00 2016 New Revision: 283238 URL: http://llvm.org/viewvc/llvm-project?rev=283238&view=rev Log: Improvements to testing blacklist Summary: This patch is necessary because individual test cases are not required to have unique names. Therefore, test cases must

[Lldb-commits] [PATCH] D24988: Improvements to testing blacklist

2016-10-04 Thread Francis Ricci via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL283238: Improvements to testing blacklist (authored by fjricci). Changed prior to commit: https://reviews.llvm.org/D24988?vs=73363&id=73525#toc Repository: rL LLVM https://reviews.llvm.org/D24988 F

[Lldb-commits] [PATCH] D15978: Prevent infinite recursive loop in AppleObjCTrampolineHandler constructor

2016-01-07 Thread Francis Ricci via lldb-commits
fjricci created this revision. fjricci added reviewers: clayborg, jingham. fjricci added subscribers: lldb-commits, sas. When we construct AppleObjCTrampolineHandler, if m_impl_fn_addr is invalid, we call CanJIT(). If the gdb remote process does not support allocating and deallocating memory, th

Re: [Lldb-commits] [PATCH] D15978: Prevent infinite recursive loop in AppleObjCTrampolineHandler constructor

2016-01-07 Thread Francis Ricci via lldb-commits
fjricci added a comment. Here's a paste of the end of the backtrace. pastebin.com/3VkF3Biq http://reviews.llvm.org/D15978 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [PATCH] D15979: Fix dwarf sequence insertions

2016-01-07 Thread Francis Ricci via lldb-commits
fjricci created this revision. fjricci added reviewers: clayborg, andrew.w.kaylor. fjricci added subscribers: lldb-commits, sas. If two dwarf sequences begin with entries that have identical addresses, it is possible for the comparator to order the first entry of the new sequence between the first

Re: [Lldb-commits] [PATCH] D15978: Prevent infinite recursive loop in AppleObjCTrampolineHandler constructor

2016-01-07 Thread Francis Ricci via lldb-commits
fjricci added a comment. @jingham - your suggestion does avoid the recursion as well, and seems a lot cleaner. http://reviews.llvm.org/D15978 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/l

Re: [Lldb-commits] [PATCH] D15978: Prevent infinite recursive loop in AppleObjCTrampolineHandler constructor

2016-01-07 Thread Francis Ricci via lldb-commits
fjricci updated this revision to Diff 44305. fjricci added a comment. Follow suggestion by @jingham to avoid setting up ObjC runtime for low-level POSIX memory allocations http://reviews.llvm.org/D15978 Files: source/Plugins/Process/Utility/InferiorCallPOSIX.cpp Index: source/Plugins/Proces

Re: [Lldb-commits] [PATCH] D15978: Prevent infinite recursive loop in AppleObjCTrampolineHandler constructor

2016-01-08 Thread Francis Ricci via lldb-commits
fjricci added a comment. Would you still like me to make the parameter change to InferiorCallMmap before merging? http://reviews.llvm.org/D15978 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinf

Re: [Lldb-commits] [PATCH] D15978: Prevent infinite recursive loop in AppleObjCTrampolineHandler constructor

2016-01-08 Thread Francis Ricci via lldb-commits
fjricci added a comment. Sounds good, will do. http://reviews.llvm.org/D15978 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D15978: Prevent infinite recursive loop in AppleObjCTrampolineHandler constructor

2016-01-08 Thread Francis Ricci via lldb-commits
fjricci updated this revision to Diff 44361. fjricci added a comment. Disable exception trapping by default on all functions in InferiorCallPOSIX http://reviews.llvm.org/D15978 Files: source/Plugins/Process/Utility/InferiorCallPOSIX.cpp source/Plugins/Process/Utility/InferiorCallPOSIX.h In

[Lldb-commits] [PATCH] D17099: Add reverse-connect functionality to the gdb-remote command

2016-02-10 Thread Francis Ricci via lldb-commits
fjricci created this revision. fjricci added reviewers: tberghammer, clayborg, jasonmolenda. fjricci added subscribers: lldb-commits, sas. Add an optional "reverse" option to the gdb-remote command, which causes lldb to listen on the specified [host:]port, waiting for the remote server to reverse-

Re: [Lldb-commits] [PATCH] D17099: Add reverse-connect functionality to the gdb-remote command

2016-02-10 Thread Francis Ricci via lldb-commits
fjricci updated this revision to Diff 47524. fjricci added a comment. Herald added subscribers: danalbert, tberghammer, emaste. Accidentally uploaded the wrong commit. Sorry about that http://reviews.llvm.org/D17099 Files: include/lldb/Target/Platform.h include/lldb/Target/Process.h sourc

Re: [Lldb-commits] [PATCH] D17099: Add reverse-connect functionality to the gdb-remote command

2016-02-10 Thread Francis Ricci via lldb-commits
fjricci updated this revision to Diff 47534. fjricci added a comment. Herald added a subscriber: srhines. Apply clang-format http://reviews.llvm.org/D17099 Files: include/lldb/Target/Platform.h include/lldb/Target/Process.h source/Commands/CommandObjectProcess.cpp source/Interpreter/Com

Re: [Lldb-commits] [PATCH] D17099: Add reverse-connect functionality to the gdb-remote command

2016-02-10 Thread Francis Ricci via lldb-commits
fjricci added a comment. Perhaps I ran clang-format in the wrong configuration, but it looks like it made the function declaration style in include/lldb/Target/Platform.h a bit inconsistent. Is this the desired behavior? http://reviews.llvm.org/D17099 ___

Re: [Lldb-commits] [PATCH] D17099: Add reverse-connect functionality to the gdb-remote command

2016-02-11 Thread Francis Ricci via lldb-commits
fjricci added a comment. Would it be better to add a test in the same commit or a separate one? Comment at: source/Interpreter/CommandInterpreter.cpp:638 @@ +637,3 @@ +connect_gdb_remote_cmd_ap->AddRegexCommand("^([^:]+:[[:digit:]]+) reverse$", +

Re: [Lldb-commits] [PATCH] D17099: Add reverse-connect functionality to the gdb-remote command

2016-02-11 Thread Francis Ricci via lldb-commits
fjricci updated this revision to Diff 47681. fjricci added a comment. Refactor to use listen urls http://reviews.llvm.org/D17099 Files: source/Interpreter/CommandInterpreter.cpp source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp source/Plugins/Process/gdb-remote/GDBRemoteCommuni

Re: [Lldb-commits] [PATCH] D17099: Add reverse-connect functionality to the gdb-remote command

2016-02-12 Thread Francis Ricci via lldb-commits
fjricci added a comment. It looks like passing a `listen://` url to `ConnectToDebugserver` actually works "out of the box". Thanks! I'll work on writing a unit test. http://reviews.llvm.org/D17099 ___ lldb-commits mailing list lldb-commits@lists.ll

Re: [Lldb-commits] [PATCH] D17099: Add reverse-connect functionality to the gdb-remote command

2016-02-12 Thread Francis Ricci via lldb-commits
fjricci updated this revision to Diff 47806. fjricci added a comment. Remove unnecessary special-case logic for reverse connecting http://reviews.llvm.org/D17099 Files: source/Interpreter/CommandInterpreter.cpp Index: source/Interpreter/CommandInterpreter.cpp

[Lldb-commits] [PATCH] D18075: Fix deadlock due to thread list locking in 'bt all' with obj-c

2016-03-10 Thread Francis Ricci via lldb-commits
fjricci created this revision. fjricci added reviewers: jingham, clayborg, andrew.w.kaylor. fjricci added subscribers: lldb-commits, sas. The gdb-remote async thread cannot modify thread state while the main thread holds a lock on the state. Don't use locking thread iteration for bt all. Specific

Re: [Lldb-commits] [PATCH] D18075: Fix deadlock due to thread list locking in 'bt all' with obj-c

2016-03-10 Thread Francis Ricci via lldb-commits
fjricci updated this revision to Diff 50387. fjricci added a comment. Remove duplication of index variable http://reviews.llvm.org/D18075 Files: source/Commands/CommandObjectThread.cpp Index: source/Commands/CommandObjectThread.cpp

Re: [Lldb-commits] [PATCH] D18075: Fix deadlock due to thread list locking in 'bt all' with obj-c

2016-03-11 Thread Francis Ricci via lldb-commits
fjricci updated this revision to Diff 50454. fjricci added a comment. Use vector of tids for iteration, rather than iterating over unlocked threadlist http://reviews.llvm.org/D18075 Files: source/Commands/CommandObjectThread.cpp Index: source/Commands/CommandObjectThread.cpp

Re: [Lldb-commits] [PATCH] D17099: Add reverse-connect functionality to the gdb-remote command

2016-03-14 Thread Francis Ricci via lldb-commits
fjricci abandoned this revision. fjricci added a comment. This functionality can already be accessed by using the "process connect" command with a listen url directly. http://reviews.llvm.org/D17099 ___ lldb-commits mailing list lldb-commits@lists.

Re: [Lldb-commits] [PATCH] D18228: Make File option flags consistent for Python API

2016-03-18 Thread Francis Ricci via lldb-commits
fjricci added a comment. That makes sense. Will do. http://reviews.llvm.org/D18228 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D18228: Make File option flags consistent for Python API

2016-03-19 Thread Francis Ricci via lldb-commits
fjricci added a comment. So this was definitely a decision that I was debating. But I assume that the Append flag must imply the Write flag, since you can't open a file for Append without also opening it for write ("a" and "a+" both include write privileges). So I figured that having both "Appe

Re: [Lldb-commits] [PATCH] D18228: Make File option flags consistent for Python API

2016-03-19 Thread Francis Ricci via lldb-commits
fjricci added a comment. I want to add this testing to functionalities/command_script_immediate_output/TestCommandScriptImmediateOutput.py, since that test is already very basic coverage of the same functionality. However, it appears that TestCommandScriptImmediateOutput is an expected fail on

Re: [Lldb-commits] [PATCH] D18228: Make File option flags consistent for Python API

2016-03-19 Thread Francis Ricci via lldb-commits
fjricci updated this revision to Diff 51113. fjricci added a comment. Added unit test for python file api http://reviews.llvm.org/D18228 Files: packages/Python/lldbsuite/test/functionalities/command_script_immediate_output/TestCommandScriptImmediateOutput.py packages/Python/lldbsuite/test

Re: [Lldb-commits] [PATCH] D18228: Make File option flags consistent for Python API

2016-03-19 Thread Francis Ricci via lldb-commits
fjricci updated this revision to Diff 51005. fjricci added a comment. Always use write flag, even in append mode http://reviews.llvm.org/D18228 Files: source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp Index: source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp ==

[Lldb-commits] [PATCH] D18228: Make File option flags consistent for Python API

2016-03-19 Thread Francis Ricci via lldb-commits
fjricci created this revision. fjricci added reviewers: clayborg, granata.enrico, Eugene.Zelenko, jingham. fjricci added subscribers: sas, lldb-commits. Fixes SBCommandReturnObject::SetImmediateOutputFile() and SBCommandReturnObject::SetImmediateOutputFile() for files opened with "a" or "a+" by re

  1   2   >