[Lldb-commits] [lldb] r339206 - Delete a dead Function constructor (NFC)

2018-08-07 Thread Vedant Kumar via lldb-commits
Author: vedantk Date: Tue Aug 7 16:48:40 2018 New Revision: 339206 URL: http://llvm.org/viewvc/llvm-project?rev=339206=rev Log: Delete a dead Function constructor (NFC) Modified: lldb/trunk/include/lldb/Symbol/Function.h lldb/trunk/source/Symbol/Function.cpp Modified:

[Lldb-commits] [lldb] r339205 - [StackFrame] Add more clarifying comments to StackFrameList (NFC)

2018-08-07 Thread Vedant Kumar via lldb-commits
Author: vedantk Date: Tue Aug 7 16:48:25 2018 New Revision: 339205 URL: http://llvm.org/viewvc/llvm-project?rev=339205=rev Log: [StackFrame] Add more clarifying comments to StackFrameList (NFC) Modified: lldb/trunk/source/Target/StackFrameList.cpp Modified:

[Lldb-commits] [lldb] r339204 - Removed doxygen comment that doesn't fit to function signature

2018-08-07 Thread Raphael Isemann via lldb-commits
Author: teemperor Date: Tue Aug 7 16:47:05 2018 New Revision: 339204 URL: http://llvm.org/viewvc/llvm-project?rev=339204=rev Log: Removed doxygen comment that doesn't fit to function signature Modified: lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h Modified:

[Lldb-commits] [lldb] r339202 - Removed duplicated commented-out code [NFC]

2018-08-07 Thread Raphael Isemann via lldb-commits
Author: teemperor Date: Tue Aug 7 16:24:24 2018 New Revision: 339202 URL: http://llvm.org/viewvc/llvm-project?rev=339202=rev Log: Removed duplicated commented-out code [NFC] Modified: lldb/trunk/source/Symbol/ClangASTContext.cpp Modified: lldb/trunk/source/Symbol/ClangASTContext.cpp URL:

[Lldb-commits] [PATCH] D47302: [WIP] New class SBTargetSettings to store and manipulate all target's properties.

2018-08-07 Thread Alexander Polyakov via Phabricator via lldb-commits
polyakov.alex abandoned this revision. polyakov.alex added a comment. Abandoned since suggested functionality is already done in https://reviews.llvm.org/D49739. https://reviews.llvm.org/D47302 ___ lldb-commits mailing list

[Lldb-commits] [lldb] r339189 - Add documentation for SBTarget::AppendImageSearchPath

2018-08-07 Thread Alexander Polyakov via lldb-commits
Author: apolyakov Date: Tue Aug 7 14:41:59 2018 New Revision: 339189 URL: http://llvm.org/viewvc/llvm-project?rev=339189=rev Log: Add documentation for SBTarget::AppendImageSearchPath Modified: lldb/trunk/include/lldb/API/SBTarget.h lldb/trunk/scripts/interface/SBTarget.i Modified:

[Lldb-commits] [lldb] r339182 - If a function starts with line number 0, don't try to check if a breakpoint crossed function boundaries.

2018-08-07 Thread Jim Ingham via lldb-commits
Author: jingham Date: Tue Aug 7 14:09:55 2018 New Revision: 339182 URL: http://llvm.org/viewvc/llvm-project?rev=339182=rev Log: If a function starts with line number 0, don't try to check if a breakpoint crossed function boundaries. clang doesn't use line number 0 (to mean artifically

[Lldb-commits] [lldb] r339181 - Fix the Xcode project for the Core -> Utility moves.

2018-08-07 Thread Jim Ingham via lldb-commits
Author: jingham Date: Tue Aug 7 14:05:34 2018 New Revision: 339181 URL: http://llvm.org/viewvc/llvm-project?rev=339181=rev Log: Fix the Xcode project for the Core -> Utility moves. Scalar.{h,cpp}, RegisterValue.{h,cpp}, State.{h,cpp} were moved. Modified:

[Lldb-commits] [PATCH] D49739: Add new API to SBTarget class

2018-08-07 Thread Jim Ingham via Phabricator via lldb-commits
jingham added a comment. Thanks! No need for review... Repository: rL LLVM https://reviews.llvm.org/D49739 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] r339180 - [lit, python] Change the order of the quotes in the lit cfg file

2018-08-07 Thread Stella Stamenova via lldb-commits
Author: stella.stamenova Date: Tue Aug 7 13:58:02 2018 New Revision: 339180 URL: http://llvm.org/viewvc/llvm-project?rev=339180=rev Log: [lit, python] Change the order of the quotes in the lit cfg file Double quotes are always correct in paths on windows while single quotes only work sometimes.

[Lldb-commits] [lldb] r339178 - [lldb-mi] Re-implement target-select command

2018-08-07 Thread Alexander Polyakov via lldb-commits
Author: apolyakov Date: Tue Aug 7 13:45:46 2018 New Revision: 339178 URL: http://llvm.org/viewvc/llvm-project?rev=339178=rev Log: [lldb-mi] Re-implement target-select command Now target-select uses SB API instead of HandleCommand. This patch has been reviewed along with the r339175.

[Lldb-commits] [PATCH] D49739: Add new API to SBTarget class

2018-08-07 Thread Alexander Polyakov via Phabricator via lldb-commits
apolyakov added a comment. Sure, will do it. Repository: rL LLVM https://reviews.llvm.org/D49739 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [PATCH] D49739: Add new API to SBTarget class

2018-08-07 Thread Jim Ingham via Phabricator via lldb-commits
jingham added a comment. Could you add a short doc to this API - it's particularly useful to do this to the .i version. I know there are lots of API's that don't have docs, but that is not a happy situation. I'd like it if we all at least didn't make the problem worse by documenting all the

[Lldb-commits] [lldb] r339175 - Add new API to SBTarget class

2018-08-07 Thread Alexander Polyakov via lldb-commits
Author: apolyakov Date: Tue Aug 7 13:23:57 2018 New Revision: 339175 URL: http://llvm.org/viewvc/llvm-project?rev=339175=rev Log: Add new API to SBTarget class Summary: The new API appends an image search path to the target's path mapping list. Reviewers: aprantl, clayborg, labath Reviewed

[Lldb-commits] [PATCH] D49739: Add new API to SBTarget class

2018-08-07 Thread Alexander Polyakov via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL339175: Add new API to SBTarget class (authored by apolyakov, committed by ). Herald added a subscriber: llvm-commits. Changed prior to commit: https://reviews.llvm.org/D49739?vs=159582=159587#toc

[Lldb-commits] [PATCH] D49739: Add new API to SBTarget class

2018-08-07 Thread Alexander Polyakov via Phabricator via lldb-commits
apolyakov updated this revision to Diff 159582. apolyakov retitled this revision from "[WIP] Re-implement MI target-select command." to "Add new API to SBTarget class". apolyakov edited the summary of this revision. apolyakov added a comment. Splitted the patch into two parts: this part with the

[Lldb-commits] [PATCH] D50071: Use rich mangling information in Symtab::InitNameIndexes()

2018-08-07 Thread Pavel Labath via Phabricator via lldb-commits
labath added inline comments. Comment at: source/Core/RichManglingContext.cpp:133 + case PluginCxxLanguage: +m_cxx_method_str = ConstString( + get(m_cxx_method_parser)->GetBasename()); I thought we were going to get rid of this ConstString? The C++

[Lldb-commits] [PATCH] D50071: Use rich mangling information in Symtab::InitNameIndexes()

2018-08-07 Thread Stefan Gränitz via Phabricator via lldb-commits
sgraenitz added a comment. > I'm also wondering whether it wouldn't be good to add a couple unit tests for > the new class, as a way to show the way the API is supposed to be used This is still missing, but working on it. https://reviews.llvm.org/D50071

[Lldb-commits] [PATCH] D50071: Use rich mangling information in Symtab::InitNameIndexes()

2018-08-07 Thread Stefan Gränitz via Phabricator via lldb-commits
sgraenitz updated this revision to Diff 159556. sgraenitz marked 5 inline comments as done. sgraenitz added a comment. Many small things https://reviews.llvm.org/D50071 Files: include/lldb/Core/Mangled.h include/lldb/Core/RichManglingContext.h include/lldb/Symbol/Symtab.h

[Lldb-commits] [PATCH] D50274: Misc module/dwarf logging improvements

2018-08-07 Thread Leonard Mosescu via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL339161: Misc module/dwarf logging improvements (authored by lemo, committed by ). Herald added a subscriber: llvm-commits. Changed prior to commit: https://reviews.llvm.org/D50274?vs=159432=159551#toc

[Lldb-commits] [lldb] r339161 - Misc module/dwarf logging improvements

2018-08-07 Thread Leonard Mosescu via lldb-commits
Author: lemo Date: Tue Aug 7 11:00:30 2018 New Revision: 339161 URL: http://llvm.org/viewvc/llvm-project?rev=339161=rev Log: Misc module/dwarf logging improvements This change improves the logging for the lldb.module category to note a few interesting cases: 1. Local object file found, but

[Lldb-commits] [lldb] r339160 - [lldb-mi] Re-implement MI HandleProcessEventStateSuspended.

2018-08-07 Thread Alexander Polyakov via lldb-commits
Author: apolyakov Date: Tue Aug 7 10:55:26 2018 New Revision: 339160 URL: http://llvm.org/viewvc/llvm-project?rev=339160=rev Log: [lldb-mi] Re-implement MI HandleProcessEventStateSuspended. Summary: Now this function uses SB API instead of HandleCommand. Reviewers: aprantl, clayborg, labath

[Lldb-commits] [PATCH] D49632: [lldb-mi] Re-implement MI HandleProcessEventStateSuspended.

2018-08-07 Thread Alexander Polyakov via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL339160: [lldb-mi] Re-implement MI HandleProcessEventStateSuspended. (authored by apolyakov, committed by ). Herald added a subscriber: llvm-commits. Changed prior to commit:

[Lldb-commits] [PATCH] D50362: Add instructions for building LLDB on Mac OS X with CMake

2018-08-07 Thread Alex Langford via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rLLDB339155: Add instructions for building LLDB on Mac OS X with CMake (authored by xiaobai, committed by ). Changed prior to commit: https://reviews.llvm.org/D50362?vs=159400=159540#toc Repository:

[Lldb-commits] [lldb] r339155 - Add instructions for building LLDB on Mac OS X with CMake

2018-08-07 Thread Alex Langford via lldb-commits
Author: xiaobai Date: Tue Aug 7 10:34:13 2018 New Revision: 339155 URL: http://llvm.org/viewvc/llvm-project?rev=339155=rev Log: Add instructions for building LLDB on Mac OS X with CMake Summary: There were previously no instructions for building LLDB on Mac OS X with CMake. It's sufficiently

[Lldb-commits] [PATCH] D50384: Move Predicate.h from Host to Utility

2018-08-07 Thread Alex Langford via Phabricator via lldb-commits
xiaobai added a comment. Hurray for more layering improvements! It looks like Raphael recently committed a modulemap for compiling the LLDB headers into C++ modules (`include/lldb/module.modulemap`) that has a reference to Predicate.h in in Host. You should probably modify that as well.

[Lldb-commits] [PATCH] D50365: Add a new tool named "lldb-vscode" that implements the Visual Studio Code Debug Adaptor Protocol

2018-08-07 Thread Greg Clayton via Phabricator via lldb-commits
clayborg added a comment. In https://reviews.llvm.org/D50365#1191059, @lemo wrote: > Really cool! Are you planning to add some documentation for it? (set up > instructions, etc...) Yes. I will add a README.txt for this patch and also a python script that will create an VSCode extension.

[Lldb-commits] [PATCH] D50304: [lldb] CommandObjectThreadUntil should set breakpoint at either on exact or the nearest subsequent line number but not on all the subsequent line numbers

2018-08-07 Thread Jim Ingham via Phabricator via lldb-commits
jingham accepted this revision. jingham added a comment. This revision is now accepted and ready to land. That looks good. Thanks for cleaning this up! https://reviews.llvm.org/D50304 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [PATCH] D50365: Add a new tool named "lldb-vscode" that implements the Visual Studio Code Debug Adaptor Protocol

2018-08-07 Thread Leonard Mosescu via Phabricator via lldb-commits
lemo added subscribers: clayborg, jingham, jasonmolenda, labath, lemo. lemo added a comment. Really cool! Are you planning to add some documentation for it? (set up instructions, etc...) https://reviews.llvm.org/D50365 ___ lldb-commits mailing list

Re: [Lldb-commits] [PATCH] D50365: Add a new tool named "lldb-vscode" that implements the Visual Studio Code Debug Adaptor Protocol

2018-08-07 Thread Leonard Mosescu via lldb-commits
Really cool! Are you planning to add some documentation for it? (set up instructions, etc...) On Tue, Aug 7, 2018 at 9:24 AM, Greg Clayton via Phabricator via lldb-commits wrote: > clayborg updated this revision to Diff 159526. > clayborg added a comment. > > Removed dead code from python

[Lldb-commits] [lldb] r339153 - Check result after setting PC value.

2018-08-07 Thread Tatyana Krasnukha via lldb-commits
Author: tkrasnukha Date: Tue Aug 7 09:46:11 2018 New Revision: 339153 URL: http://llvm.org/viewvc/llvm-project?rev=339153=rev Log: Check result after setting PC value. Modified: lldb/trunk/source/Commands/CommandObjectTarget.cpp Modified: lldb/trunk/source/Commands/CommandObjectTarget.cpp

[Lldb-commits] [PATCH] D50304: [lldb] CommandObjectThreadUntil should set breakpoint at either on exact or the nearest subsequent line number but not on all the subsequent line numbers

2018-08-07 Thread Venkata Ramanaiah Nalamothu via Phabricator via lldb-commits
ramana-nvr updated this revision to Diff 159517. ramana-nvr added a comment. Yes, updated the patch accordingly. https://reviews.llvm.org/D50304 Files: source/Commands/CommandObjectThread.cpp Index: source/Commands/CommandObjectThread.cpp

[Lldb-commits] [lldb] r339136 - Move ScalarTest to follow the class being tested

2018-08-07 Thread Pavel Labath via lldb-commits
Author: labath Date: Tue Aug 7 06:10:16 2018 New Revision: 339136 URL: http://llvm.org/viewvc/llvm-project?rev=339136=rev Log: Move ScalarTest to follow the class being tested This should have been a part of r339127, but I missed it somehow. Added:

[Lldb-commits] [PATCH] D50384: Move Predicate.h from Host to Utility

2018-08-07 Thread Pavel Labath via Phabricator via lldb-commits
labath created this revision. labath added reviewers: jingham, zturner, teemperor. Herald added a subscriber: mgorny. This class was initially in Host because its implementation used to be very OS-specific. However, with C++11, it has become a very simple std::condition_variable wrapper, with no

[Lldb-commits] [PATCH] D50383: Move SafeMachO from Utility to Host

2018-08-07 Thread Pavel Labath via Phabricator via lldb-commits
labath created this revision. labath added reviewers: jingham, zturner, teemperor. Herald added a subscriber: fedor.sergeev. One of the conclusions of the discussion on https://reviews.llvm.org/D49740 was that SafeMachO is better off in the Host module (as that's the only place which should

[Lldb-commits] [lldb] r339130 - Fix a couple of extended-offsetof warnings that had slipped through

2018-08-07 Thread Pavel Labath via lldb-commits
Author: labath Date: Tue Aug 7 05:16:49 2018 New Revision: 339130 URL: http://llvm.org/viewvc/llvm-project?rev=339130=rev Log: Fix a couple of extended-offsetof warnings that had slipped through Modified: lldb/trunk/source/Plugins/Process/minidump/RegisterContextMinidump_ARM64.cpp

[Lldb-commits] [PATCH] D49740: Move RegisterValue, Scalar, State from Core to Utility

2018-08-07 Thread Pavel Labath via Phabricator via lldb-commits
labath added a comment. Thanks. I'll commit this and look at moving SafeMachO next. > But I guess I'm looking for an organization based on "groups by > functionality" rather than "who uses what". So even though other actors > might use Scalar, it's reason for being is to present values. For

[Lldb-commits] [PATCH] D50274: Misc module/dwarf logging improvements

2018-08-07 Thread Pavel Labath via Phabricator via lldb-commits
labath accepted this revision. labath added inline comments. This revision is now accepted and ready to land. Comment at: source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp:3413 +section->GetName().GetCString(), +llvm::toString(Decompressor.takeError()).c_str()); +

[Lldb-commits] [PATCH] D50362: Add instructions for building LLDB on Mac OS X with CMake

2018-08-07 Thread Pavel Labath via Phabricator via lldb-commits
labath accepted this revision. labath added a comment. This revision is now accepted and ready to land. Makes sense to me. https://reviews.llvm.org/D50362 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

Re: [Lldb-commits] [lldb] r338949 - Fix a bug in VMRange

2018-08-07 Thread Hans Wennborg via lldb-commits
Merged to 7.0 in r339107. On Sat, Aug 4, 2018 at 4:15 AM, Leonard Mosescu via lldb-commits wrote: > Author: lemo > Date: Fri Aug 3 19:15:26 2018 > New Revision: 338949 > > URL: http://llvm.org/viewvc/llvm-project?rev=338949=rev > Log: > Fix a bug in VMRange > > I noticed a suspicious failure: >