Re: [Lldb-commits] [PATCH] D24863: Keep dependencies separated between static and dynamic libraries. Fix for bug #28127.

2016-09-23 Thread Tobias Grosser via lldb-commits
grosser added a reviewer: Meinersbur. grosser added a comment. Pablo, thank you for taking Polly into account as well. I add Michael, who probably knows our cmake build system best. Repository: rL LLVM https://reviews.llvm.org/D24863 ___ lldb-co

Re: [Lldb-commits] [PATCH] D24890: implement timeout sample support for Linux

2016-09-23 Thread Todd Fiala via lldb-commits
tfiala added inline comments. Comment at: packages/Python/lldbsuite/pre_kill_hook/linux.py:68 @@ +67,3 @@ +else: +raise Exception("failed to call 'perf record .., error: ") + Haha woops - that should be: ``` raise Exception("failed to call 'per

[Lldb-commits] [PATCH] D24890: implement timeout sample support for Linux

2016-09-23 Thread Todd Fiala via lldb-commits
tfiala created this revision. tfiala added reviewers: labath, tberghammer. tfiala added a subscriber: lldb-commits. This is the Linux counterpart to the recently-added macOS-side support for sampling a test process that times out, prior to killing it. This implementation is based on the Linux pe

Re: [Lldb-commits] [PATCH] D24846: [CMake] Generate LLDB_REVISION at build time

2016-09-23 Thread Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL282314: [CMake] Generate LLDB_REVISION at build time (authored by cbieneman). Changed prior to commit: https://reviews.llvm.org/D24846?vs=72215&id=72381#toc Repository: rL LLVM https://reviews.llvm.

[Lldb-commits] [lldb] r282314 - [CMake] Generate LLDB_REVISION at build time

2016-09-23 Thread Chris Bieneman via lldb-commits
Author: cbieneman Date: Fri Sep 23 18:33:52 2016 New Revision: 282314 URL: http://llvm.org/viewvc/llvm-project?rev=282314&view=rev Log: [CMake] Generate LLDB_REVISION at build time Summary: This alters the generation of LLDB_REVISION to be heavily based on how clang generates its version header.

Re: [Lldb-commits] [PATCH] D24846: [CMake] Generate LLDB_REVISION at build time

2016-09-23 Thread Zachary Turner via lldb-commits
zturner accepted this revision. zturner added a comment. lgtm, everything works. https://reviews.llvm.org/D24846 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D24863: Keep dependencies separated between static and dynamic libraries. Fix for bug #28127.

2016-09-23 Thread Chris Bieneman via lldb-commits
beanz requested changes to this revision. beanz added a comment. This revision now requires changes to proceed. Making static archives only have dependencies on other static archives has serious implications and fundamentally breaks `LLVM_LINK_LLVM_DYLIB`. For example: libClangDriver.a depends

Re: [Lldb-commits] [lldb] r282309 - Fix build on Ubuntu.

2016-09-23 Thread Jim Ingham via lldb-commits
Not done building yet, I also had to fetch a new llvm, but at least those were needed. Jim > On Sep 23, 2016, at 3:47 PM, Zachary Turner wrote: > > Ahh nvm, I see you beat me to it. Thanks > > On Fri, Sep 23, 2016 at 3:47 PM Zachary Turner wrote: > Thanks I'll take a look. I only saw the o

Re: [Lldb-commits] [lldb] r282309 - Fix build on Ubuntu.

2016-09-23 Thread Zachary Turner via lldb-commits
Ahh nvm, I see you beat me to it. Thanks On Fri, Sep 23, 2016 at 3:47 PM Zachary Turner wrote: > Thanks I'll take a look. I only saw the other because I got a buildbot > break notification. I'll go checkout Host.mm > > On Fri, Sep 23, 2016 at 3:44 PM Jim Ingham wrote: > > I think you missed

Re: [Lldb-commits] [lldb] r282309 - Fix build on Ubuntu.

2016-09-23 Thread Zachary Turner via lldb-commits
Thanks I'll take a look. I only saw the other because I got a buildbot break notification. I'll go checkout Host.mm On Fri, Sep 23, 2016 at 3:44 PM Jim Ingham wrote: > I think you missed some changes in Host.mm on OS X as well. > > Jim > > > On Sep 23, 2016, at 3:27 PM, Zachary Turner via lldb

[Lldb-commits] [lldb] r282311 - Mutatis mutandis for char * -> StringRef.

2016-09-23 Thread Jim Ingham via lldb-commits
Author: jingham Date: Fri Sep 23 17:36:00 2016 New Revision: 282311 URL: http://llvm.org/viewvc/llvm-project?rev=282311&view=rev Log: Mutatis mutandis for char * -> StringRef. Modified: lldb/trunk/source/Host/macosx/Host.mm Modified: lldb/trunk/source/Host/macosx/Host.mm URL: http://llvm.o

Re: [Lldb-commits] [lldb] r282309 - Fix build on Ubuntu.

2016-09-23 Thread Jim Ingham via lldb-commits
I think you missed some changes in Host.mm on OS X as well. Jim > On Sep 23, 2016, at 3:27 PM, Zachary Turner via lldb-commits > wrote: > > Author: zturner > Date: Fri Sep 23 17:27:03 2016 > New Revision: 282309 > > URL: http://llvm.org/viewvc/llvm-project?rev=282309&view=rev > Log: > Fix bui

[Lldb-commits] [lldb] r282310 - Add an accessor to get the value of RC_PLATFORM_NAME at build time

2016-09-23 Thread Enrico Granata via lldb-commits
Author: enrico Date: Fri Sep 23 17:30:08 2016 New Revision: 282310 URL: http://llvm.org/viewvc/llvm-project?rev=282310&view=rev Log: Add an accessor to get the value of RC_PLATFORM_NAME at build time Modified: lldb/trunk/scripts/Xcode/lldbbuild.py Modified: lldb/trunk/scripts/Xcode/lldbbuild

[Lldb-commits] [lldb] r282309 - Fix build on Ubuntu.

2016-09-23 Thread Zachary Turner via lldb-commits
Author: zturner Date: Fri Sep 23 17:27:03 2016 New Revision: 282309 URL: http://llvm.org/viewvc/llvm-project?rev=282309&view=rev Log: Fix build on Ubuntu. This was in some code that was #ifdef'd out on Windows, so I didn't see it. Modified: lldb/trunk/source/Host/common/Host.cpp Modified: l

[Lldb-commits] [lldb] r282306 - Change FileAction::GetPath() to return a StringRef.

2016-09-23 Thread Zachary Turner via lldb-commits
Author: zturner Date: Fri Sep 23 17:11:51 2016 New Revision: 282306 URL: http://llvm.org/viewvc/llvm-project?rev=282306&view=rev Log: Change FileAction::GetPath() to return a StringRef. Modified: lldb/trunk/include/lldb/Target/FileAction.h lldb/trunk/include/lldb/Target/Target.h lldb/

[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

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

Re: [Lldb-commits] [PATCH] D20835: Mark the current column when displaying the context of the current breakpoint on the terminal.

2016-09-23 Thread Todd Fiala via lldb-commits
tfiala closed this revision. tfiala added a comment. Thanks, Jim! https://reviews.llvm.org/D20835 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] r282297 - Install only the manpage and only in the proper location

2016-09-23 Thread Enrico Granata via lldb-commits
Author: enrico Date: Fri Sep 23 16:24:08 2016 New Revision: 282297 URL: http://llvm.org/viewvc/llvm-project?rev=282297&view=rev Log: Install only the manpage and only in the proper location Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj Modified: lldb/trunk/lldb.xcodeproj/project.pbxpr

[Lldb-commits] [lldb] r282277 - Change Module::RemapPath to use StringRef.

2016-09-23 Thread Zachary Turner via lldb-commits
Author: zturner Date: Fri Sep 23 13:42:38 2016 New Revision: 282277 URL: http://llvm.org/viewvc/llvm-project?rev=282277&view=rev Log: Change Module::RemapPath to use StringRef. Modified: lldb/trunk/include/lldb/Core/Module.h lldb/trunk/include/lldb/Target/PathMappingList.h lldb/trunk/

Re: [Lldb-commits] [lldb] r282196 - [CMake] Fixing a small hack in add_lldb_library

2016-09-23 Thread Zachary Turner via lldb-commits
BTW, a TON of unnecessary stuff currently depends on the clang tablegen targets, due to the way the libraries are not well layered. So you can be trying to build CommandObjectMemory.cpp, and all of a sudden it has to build the clang tablegen targets. Very frustrating for incremental development.

[Lldb-commits] [lldb] r282271 - Try again to match the logic of the code before re-writing.

2016-09-23 Thread Zachary Turner via lldb-commits
Author: zturner Date: Fri Sep 23 13:13:18 2016 New Revision: 282271 URL: http://llvm.org/viewvc/llvm-project?rev=282271&view=rev Log: Try again to match the logic of the code before re-writing. Modified: lldb/trunk/source/Interpreter/OptionGroupValueObjectDisplay.cpp Modified: lldb/trunk/sou

[Lldb-commits] [lldb] r282270 - Try to fix failing TestDataFormatterSkipSummary test case.

2016-09-23 Thread Zachary Turner via lldb-commits
Author: zturner Date: Fri Sep 23 13:11:03 2016 New Revision: 282270 URL: http://llvm.org/viewvc/llvm-project?rev=282270&view=rev Log: Try to fix failing TestDataFormatterSkipSummary test case. Modified: lldb/trunk/source/Interpreter/OptionGroupValueObjectDisplay.cpp Modified: lldb/trunk/sour

[Lldb-commits] [lldb] r282269 - Update the prompt related functions to use StringRefs.

2016-09-23 Thread Zachary Turner via lldb-commits
Author: zturner Date: Fri Sep 23 13:06:53 2016 New Revision: 282269 URL: http://llvm.org/viewvc/llvm-project?rev=282269&view=rev Log: Update the prompt related functions to use StringRefs. Modified: lldb/trunk/include/lldb/Core/Debugger.h lldb/trunk/include/lldb/Core/Event.h lldb/trun

Re: [Lldb-commits] [PATCH] D24847: Make OptionGroup::SetValue take a StringRef

2016-09-23 Thread Zachary Turner via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL282265: Update OptionGroup::SetValue to take StringRef. (authored by zturner). Changed prior to commit: https://reviews.llvm.org/D24847?vs=72234&id=72310#toc Repository: rL LLVM https://reviews.llvm

[Lldb-commits] [lldb] r282265 - Update OptionGroup::SetValue to take StringRef.

2016-09-23 Thread Zachary Turner via lldb-commits
Author: zturner Date: Fri Sep 23 12:48:13 2016 New Revision: 282265 URL: http://llvm.org/viewvc/llvm-project?rev=282265&view=rev Log: Update OptionGroup::SetValue to take StringRef. Then deal with all the fallout. Differential Revision: https://reviews.llvm.org/D24847 Modified: lldb/trunk/i

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

2016-09-23 Thread Jim Ingham via lldb-commits
jingham added a subscriber: jingham. jingham added a comment. As long as the only way you can specify the black-list is explicitly on the command line, I think this is fine. There should never be implicit searches for a backlist file. You must have to supply it each time you run the testsuite

Re: [Lldb-commits] [PATCH] D24847: Make OptionGroup::SetValue take a StringRef

2016-09-23 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. https://reviews.llvm.org/D24847 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/l

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] D21032: Eliminate differences in lldbinline-generated Makefiles and ensure they're regenerated every time

2016-09-23 Thread Todd Fiala via lldb-commits
tfiala closed this revision. tfiala added a comment. Closing this out as it appears to be resolved one way or another. Repository: rL LLVM https://reviews.llvm.org/D21032 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm

Re: [Lldb-commits] [PATCH] D21152: Hunt for unused memory properly when dealing with processes that can tell us about memory mappings

2016-09-23 Thread Todd Fiala via lldb-commits
tfiala closed this revision. tfiala added a comment. Closing per comments on this already being checked in. Repository: rL LLVM https://reviews.llvm.org/D21152 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bi

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 Todd Fiala via lldb-commits
tfiala accepted this revision. tfiala added a comment. This revision is now accepted and ready to land. I am accepting this with one strong reservation which I will explicitly call out here: - If somebody checks in changes that are broken, and claims they missed it because they have an xfail ex

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

2016-09-23 Thread Todd Fiala via lldb-commits
tfiala added a comment. > > 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 tests externally (in this case, I > > would probably annotate them w

Re: [Lldb-commits] [PATCH] D20835: Mark the current column when displaying the context of the current breakpoint on the terminal.

2016-09-23 Thread Todd Fiala via lldb-commits
tfiala added a comment. (I'll close this out as soon as Jim accepts). https://reviews.llvm.org/D20835 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D24850: add hook for calling platform-dependent pre-kill action on a timed out test

2016-09-23 Thread Todd Fiala via lldb-commits
tfiala closed this revision. tfiala added a comment. Closed by r282258 https://reviews.llvm.org/D24850 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] r282258 - add hook for calling platform-dependent pre-kill action on a timed out test

2016-09-23 Thread Todd Fiala via lldb-commits
Author: tfiala Date: Fri Sep 23 11:10:01 2016 New Revision: 282258 URL: http://llvm.org/viewvc/llvm-project?rev=282258&view=rev Log: add hook for calling platform-dependent pre-kill action on a timed out test differential review: https://reviews.llvm.org/D24850 reviewers: clayborg, labath Added

Re: [Lldb-commits] [PATCH] D24850: add hook for calling platform-dependent pre-kill action on a timed out test

2016-09-23 Thread Todd Fiala via lldb-commits
tfiala updated this revision to Diff 72294. tfiala added a comment. I'm about to check this in. I just wanted to put up my final change, which includes the following: - README.md - documents the new pre_kill_hook package in lldbsuite. - added a runner_context/context_dict argument to the pre-k

Re: [Lldb-commits] [PATCH] D24850: add hook for calling platform-dependent pre-kill action on a timed out test

2016-09-23 Thread Todd Fiala via lldb-commits
tfiala added inline comments. Comment at: packages/Python/lldbsuite/test/test_runner/process_control.py:514 @@ +513,3 @@ +# to it later. +self.command = command + labath wrote: > Is this actually used anywhere? No - I originally was parsing some op

Re: [Lldb-commits] [PATCH] D24863: Keep dependencies separated between static and dynamic libraries. Fix for bug #28127.

2016-09-23 Thread Brad King via lldb-commits
brad.king added a comment. > ensuring that when static .a libraries are build they only introduce cmake > transitive dependencies to other .a components. This sounds good from a design level. As for the implementation, I'm not particularly familiar with `llvm_add_library` and all its options

Re: [Lldb-commits] [PATCH] D24863: Keep dependencies separated between static and dynamic libraries. Fix for bug #28127.

2016-09-23 Thread Pavel Labath via lldb-commits
labath resigned from this revision. labath edited reviewers, added: beanz; removed: labath. labath added a comment. @beanz, could you look at the llvm side of this? Repository: rL LLVM https://reviews.llvm.org/D24863 ___ lldb-commits mailing list

[Lldb-commits] [lldb] r282236 - [gdb-remote] Remove the const char * version of SendPacketAndWaitForResponse

2016-09-23 Thread Pavel Labath via lldb-commits
Author: labath Date: Fri Sep 23 04:11:49 2016 New Revision: 282236 URL: http://llvm.org/viewvc/llvm-project?rev=282236&view=rev Log: [gdb-remote] Remove the const char * version of SendPacketAndWaitForResponse Switch all callers to use the StringRef version. Modified: lldb/trunk/source/Plugi

Re: [Lldb-commits] [PATCH] D24850: add hook for calling platform-dependent pre-kill action on a timed out test

2016-09-23 Thread Pavel Labath via lldb-commits
labath accepted this revision. labath added a comment. Sounds like a useful thing to have. I've found turning on logging very helpful when looking for these issues, as it can tell you what was happening in the past, in addition to the current state (also it allows you to compare the logs from a