[Lldb-commits] [lldb] r279800 - Make all the Function implementations different so the compiler won't share them.

2016-08-25 Thread Jim Ingham via lldb-commits
Author: jingham Date: Thu Aug 25 20:27:50 2016 New Revision: 279800 URL: http://llvm.org/viewvc/llvm-project?rev=279800=rev Log: Make all the Function implementations different so the compiler won't share them. Clang on ARM64 was making the three Function methods with identical bodies have one

[Lldb-commits] [lldb] r279784 - Add a notification message in 'type lookup' when the current language doesn't yield results and one has to go across multiple languages to scan for types

2016-08-25 Thread Enrico Granata via lldb-commits
Author: enrico Date: Thu Aug 25 17:11:01 2016 New Revision: 279784 URL: http://llvm.org/viewvc/llvm-project?rev=279784=rev Log: Add a notification message in 'type lookup' when the current language doesn't yield results and one has to go across multiple languages to scan for types Fixes

Re: [Lldb-commits] [PATCH] D23881: [LLDB] [cmake]: Add local module directory to search path for standalone build

2016-08-25 Thread Michał Górny via lldb-commits
mgorny added a comment. That won't work since it would require source dir to be still available when building LLDB. The point of stand-alone build is to avoid that, and after applying this patch (and the regex fix), I'm able to achieve that. Using LLVM_MAIN_SRC_DIR would be a regression.

Re: [Lldb-commits] [PATCH] D23881: [LLDB] [cmake]: Add local module directory to search path for standalone build

2016-08-25 Thread Michał Górny via lldb-commits
mgorny added a comment. In https://reviews.llvm.org/D23881#525411, @krytarowski wrote: > In https://reviews.llvm.org/D23881#525405, @mgorny wrote: > > > In https://reviews.llvm.org/D23881#525401, @krytarowski wrote: > > > > > The proper way to fix it is to install CheckAtomic from LLVM/Clang. >

[Lldb-commits] [PATCH] D23883: Remove MIUtilParse (no longer used)

2016-08-25 Thread Michał Górny via lldb-commits
mgorny created this revision. mgorny added a reviewer: dawn. mgorny added a subscriber: lldb-commits. Herald added a subscriber: ki.stfu. Remove MIUtilParse once https://reviews.llvm.org/D23882 is accepted. https://reviews.llvm.org/D23883 Files: tools/lldb-mi/CMakeLists.txt

[Lldb-commits] [PATCH] D23881: cmake: Add local module directory to search path for standalone build

2016-08-25 Thread Michał Górny via lldb-commits
mgorny created this revision. mgorny added reviewers: krytarowski, Eugene.Zelenko. mgorny added a subscriber: lldb-commits. Add cmake/modules directory to cmake module search path as otherwise CMake fails to find CheckAtomic module when performing standalone build. // Note: I don't have commit

[Lldb-commits] [PATCH] D23882: Replace uses of MIUtilParse::CRegexParser with llvm::Regex

2016-08-25 Thread Michał Górny via lldb-commits
mgorny created this revision. mgorny added a reviewer: dawn. mgorny added a subscriber: lldb-commits. Herald added a subscriber: ki.stfu. Replace uses of the local MIUtilParse::CRegexParser class with the LLVM support class llvm::Regex. This reduces duplication of code, and makes it possible to

Re: [Lldb-commits] [PATCH] D23881: [LLDB] [cmake]: Add local module directory to search path for standalone build

2016-08-25 Thread Michał Górny via lldb-commits
mgorny added a comment. In https://reviews.llvm.org/D23881#525401, @krytarowski wrote: > The proper way to fix it is to install CheckAtomic from LLVM/Clang. > > See https://reviews.llvm.org/D22999 Wasn't that rejected? Repository: rL LLVM https://reviews.llvm.org/D23881

Re: [Lldb-commits] [PATCH] D23881: [LLDB] [cmake]: Add local module directory to search path for standalone build

2016-08-25 Thread Kamil Rytarowski via lldb-commits
krytarowski added a comment. In https://reviews.llvm.org/D23881#525420, @mgorny wrote: > In https://reviews.llvm.org/D23881#525411, @krytarowski wrote: > > > In https://reviews.llvm.org/D23881#525405, @mgorny wrote: > > > > > In https://reviews.llvm.org/D23881#525401, @krytarowski wrote: > > > >

Re: [Lldb-commits] [PATCH] D22999: Resurrect standalone build

2016-08-25 Thread Kamil Rytarowski via lldb-commits
krytarowski abandoned this revision. krytarowski added a comment. Will be addressed in LLVM/Clang. Repository: rL LLVM https://reviews.llvm.org/D22999 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

Re: [Lldb-commits] [PATCH] D23881: [LLDB] [cmake]: Add local module directory to search path for standalone build

2016-08-25 Thread Kamil Rytarowski via lldb-commits
krytarowski added a comment. In https://reviews.llvm.org/D23881#525405, @mgorny wrote: > In https://reviews.llvm.org/D23881#525401, @krytarowski wrote: > > > The proper way to fix it is to install CheckAtomic from LLVM/Clang. > > > > See https://reviews.llvm.org/D22999 > > > Wasn't that

Re: [Lldb-commits] [PATCH] D23830: Add cmake option to choose whether to use the builtin demangler

2016-08-25 Thread Joerg Sonnenberger via lldb-commits
joerg accepted this revision. joerg added a reviewer: joerg. joerg added a comment. This revision is now accepted and ready to land. LGTM https://reviews.llvm.org/D23830 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [PATCH] D23884: Add StructuredData unit tests; remove JSON parsing string copy

2016-08-25 Thread Todd Fiala via lldb-commits
tfiala created this revision. tfiala added reviewers: clayborg, labath, jasonmolenda. tfiala added a subscriber: lldb-commits. This change does the following: * Adds three new unit test entries to test handling of $JSON-asyc: packets. Thanks to Pavel for making that whole section of code easily

Re: [Lldb-commits] [PATCH] D23881: cmake: Add local module directory to search path for standalone build

2016-08-25 Thread Eugene Zelenko via lldb-commits
Eugene.Zelenko added a comment. I think will be better to use LLVM_MAIN_SRC_DIR. https://reviews.llvm.org/D23881 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D23545: Minidump parsing

2016-08-25 Thread Dimitar Vlahovski via lldb-commits
dvlahovski added a comment. I changed all of the `llvm::Optional` returning functions to return only `const type *` and signalize for 'failure' by returning a `nullptr`. In the cases where I return objects (e.g. vector of threads) I'm still using the `llvm::Optional` pattern. I also think that

Re: [Lldb-commits] [PATCH] D23545: Minidump parsing

2016-08-25 Thread Dimitar Vlahovski via lldb-commits
dvlahovski updated this revision to Diff 69254. dvlahovski added a comment. Changed the constructing pattern of MinidumpParser Now there is a static Create method that returns and llvm::Optional MinidumpParser. https://reviews.llvm.org/D23545 Files: cmake/LLDBDependencies.cmake

[Lldb-commits] [PATCH] D23877: Switch linux and android CODE_OWNERS

2016-08-25 Thread Pavel Labath via lldb-commits
labath created this revision. labath added reviewers: ovyalov, clayborg. labath added a subscriber: lldb-commits. Herald added subscribers: danalbert, tberghammer. Oleksiy is no longer active in LLDB, I'd like to formally assume ownership of the linux and android parts.

[Lldb-commits] [lldb] r279725 - gdb-remote: Make the sequence mutex non-recursive

2016-08-25 Thread Pavel Labath via lldb-commits
Author: labath Date: Thu Aug 25 03:34:57 2016 New Revision: 279725 URL: http://llvm.org/viewvc/llvm-project?rev=279725=rev Log: gdb-remote: Make the sequence mutex non-recursive Summary: This is a preparatory commit for D22914, where I'd like to replace this mutex by an R/W lock (which is also

Re: [Lldb-commits] [PATCH] D23802: gdb-remote: Make the sequence mutex non-recursive

2016-08-25 Thread Pavel Labath via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL279725: gdb-remote: Make the sequence mutex non-recursive (authored by labath). Changed prior to commit: https://reviews.llvm.org/D23802?vs=69088=69208#toc Repository: rL LLVM

Re: [Lldb-commits] [PATCH] D23825: Fix warnings preventing copy elision.

2016-08-25 Thread Pavel Labath via lldb-commits
labath added a subscriber: labath. labath closed this revision. labath added a comment. committed in r279724. https://reviews.llvm.org/D23825 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [lldb] r279724 - Fix warnings preventing copy elision.

2016-08-25 Thread Pavel Labath via lldb-commits
Author: labath Date: Thu Aug 25 03:22:14 2016 New Revision: 279724 URL: http://llvm.org/viewvc/llvm-project?rev=279724=rev Log: Fix warnings preventing copy elision. Summary: Moving a temporary object prevents copy elision, which is exactly what clang points out by warning about this pattern.

Re: [Lldb-commits] [PATCH] D23830: Add cmake option to choose whether to use the builtin demangler

2016-08-25 Thread Kamil Rytarowski via lldb-commits
krytarowski added a subscriber: joerg. krytarowski added a comment. Looks OK for NetBSD. @joerg are you fine with this? https://reviews.llvm.org/D23830 ___ lldb-commits mailing list lldb-commits@lists.llvm.org