[Lldb-commits] [PATCH] D50802: Expression autocompletion with variables and symbols

2018-08-16 Thread Arnaud Coomans via Phabricator via lldb-commits
acoomans abandoned this revision. acoomans added a comment. @teemperor Nice. Looks like you're way ahead of me. I'll abandon this. Let me know if you want help with your code! Repository: rLLDB LLDB https://reviews.llvm.org/D50802 ___ lldb-commi

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

2018-08-16 Thread Greg Clayton via Phabricator via lldb-commits
clayborg marked 13 inline comments as done. clayborg added inline comments. Comment at: tools/lldb-vscode/JSONUtils.cpp:472 +char path[PATH_MAX] = ""; +file.GetPath(path, sizeof(path)); +if (path[0]) { This is a SBFileSpec. We don't allow any STL to b

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

2018-08-16 Thread Zachary Turner via Phabricator via lldb-commits
zturner added a comment. I had a couple of other comments, but since I responded from email since I was on the go and I guess they didn't show up inline. Sorry about that. If you prefer I can resubmit them all as inline comments, or I guess you can just respond to the email thread. ===

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

2018-08-16 Thread Greg Clayton via lldb-commits
Inline comments really help if you don't mind. > On Aug 16, 2018, at 9:23 AM, Zachary Turner via Phabricator > wrote: > > zturner added a comment. > > I had a couple of other comments, but since I responded from email since I > was on the go and I guess they didn't show up inline. Sorry abou

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

2018-08-16 Thread Greg Clayton via Phabricator via lldb-commits
clayborg added a subscriber: davide. clayborg added a comment. Inline comments really help if you don't mind. https://reviews.llvm.org/D50365 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/ll

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

2018-08-16 Thread Zachary Turner via Phabricator via lldb-commits
zturner added inline comments. Comment at: tools/lldb-vscode/SourceBreakpoint.h:24 + // Set this breakpoint in LLDB as a new breakpoint + void SetBreakpoint(const char *source_path); +}; clayborg wrote: > zturner wrote: > > clayborg wrote: > > > zturner wrote:

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

2018-08-16 Thread Greg Clayton via Phabricator via lldb-commits
clayborg marked 2 inline comments as done. clayborg added inline comments. Comment at: tools/lldb-vscode/lldb-vscode.cpp:2646 +g_vsc.out = fdopen(socket_fd, "w"); +if (g_vsc.in == nullptr || g_vsc.out == nullptr) { + if (g_vsc.log) The mu

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

2018-08-16 Thread Zachary Turner via Phabricator via lldb-commits
zturner added inline comments. Comment at: tools/lldb-vscode/lldb-vscode.cpp:2646 +g_vsc.out = fdopen(socket_fd, "w"); +if (g_vsc.in == nullptr || g_vsc.out == nullptr) { + if (g_vsc.log) clayborg wrote: > The mutex isn't the problem, it

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

2018-08-16 Thread Zachary Turner via Phabricator via lldb-commits
zturner accepted this revision. zturner added a comment. This revision is now accepted and ready to land. Thanks for being patient. Looking forward to actually using this on my Linux box. https://reviews.llvm.org/D50365 ___ lldb-commits mailing li

[Lldb-commits] [lldb] r339910 - Update LLDB for LLVM CodeView API change in r339907

2018-08-16 Thread Reid Kleckner via lldb-commits
Author: rnk Date: Thu Aug 16 10:51:58 2018 New Revision: 339910 URL: http://llvm.org/viewvc/llvm-project?rev=339910&view=rev Log: Update LLDB for LLVM CodeView API change in r339907 Modified: lldb/trunk/source/Plugins/SymbolFile/PDB/PDBLocationToDWARFExpression.cpp Modified: lldb/trunk/sour

[Lldb-commits] [lldb] r339914 - Disable two flaky pexpect-backed tests on Darwin

2018-08-16 Thread Vedant Kumar via lldb-commits
Author: vedantk Date: Thu Aug 16 11:18:16 2018 New Revision: 339914 URL: http://llvm.org/viewvc/llvm-project?rev=339914&view=rev Log: Disable two flaky pexpect-backed tests on Darwin These tests are sporadically timing out on our bots, e.g here: https://ci.swift.org/job/swift-PR-Linux/6841 Mo

[Lldb-commits] [lldb] r339920 - Fix lldb-vscode build on Windows

2018-08-16 Thread Reid Kleckner via lldb-commits
Author: rnk Date: Thu Aug 16 11:24:59 2018 New Revision: 339920 URL: http://llvm.org/viewvc/llvm-project?rev=339920&view=rev Log: Fix lldb-vscode build on Windows Include PosixAPI.h to get a PATH_MAX definition and replace CreateEvent with CreateEventObject to avoid conflicts with the windows.h d

[Lldb-commits] [lldb] r339929 - [dotest] Make --test-subdir work with --no-multiprocess

2018-08-16 Thread Vedant Kumar via lldb-commits
Author: vedantk Date: Thu Aug 16 12:56:38 2018 New Revision: 339929 URL: http://llvm.org/viewvc/llvm-project?rev=339929&view=rev Log: [dotest] Make --test-subdir work with --no-multiprocess The single-process test runner is invoked in a number of different scenarios, including when multiple test

Re: [Lldb-commits] [lldb] r339920 - Fix lldb-vscode build on Windows

2018-08-16 Thread Greg Clayton via lldb-commits
It would be interesting to have some sort of warning or static analyzer to avoid platform specific name conflicts like CreateEvent. People always use "id" as a variable name and that can cause problems when a header is included in objective C. Thanks for the windows fixes. > On Aug 16, 2018,

Re: [Lldb-commits] [lldb] r339920 - Fix lldb-vscode build on Windows

2018-08-16 Thread Zachary Turner via lldb-commits
That's a pretty good idea. clang-tidy could probably catch something like this. On Thu, Aug 16, 2018 at 1:13 PM Greg Clayton via lldb-commits < lldb-commits@lists.llvm.org> wrote: > It would be interesting to have some sort of warning or static analyzer to > avoid platform specific name conflict

Re: [Lldb-commits] [lldb] r339920 - Fix lldb-vscode build on Windows

2018-08-16 Thread Zachary Turner via lldb-commits
(I mean it can't right now, but we could probably make it) On Thu, Aug 16, 2018 at 1:35 PM Zachary Turner wrote: > That's a pretty good idea. clang-tidy could probably catch something like > this. > > On Thu, Aug 16, 2018 at 1:13 PM Greg Clayton via lldb-commits < > lldb-commits@lists.llvm.org>

[Lldb-commits] [PATCH] D50864: Add libc++ data formatter for std::function

2018-08-16 Thread Shafik Yaghmour via Phabricator via lldb-commits
shafik created this revision. shafik added reviewers: jingham, davide. Herald added a reviewer: EricWF. Herald added a subscriber: christof. Adding formatter summary for std::function. - Added LibcxxFunctionSummaryProvider - Removed LibcxxFunctionFrontEnd - Modified data formatter tests

[Lldb-commits] [lldb] r339954 - Update the Core file loading instructions so they keep the process stopped after attaching to a core file.

2018-08-16 Thread Greg Clayton via lldb-commits
Author: gclayton Date: Thu Aug 16 15:13:01 2018 New Revision: 339954 URL: http://llvm.org/viewvc/llvm-project?rev=339954&view=rev Log: Update the Core file loading instructions so they keep the process stopped after attaching to a core file. Modified: lldb/trunk/tools/lldb-vscode/README.md

[Lldb-commits] [lldb] r339959 - Remove outdated TODOs in RegisterValue

2018-08-16 Thread Alex Langford via lldb-commits
Author: xiaobai Date: Thu Aug 16 15:48:46 2018 New Revision: 339959 URL: http://llvm.org/viewvc/llvm-project?rev=339959&view=rev Log: Remove outdated TODOs in RegisterValue These TODOs were for setting m_type in RegisterValue::SetValueFromString in the case where reg_info's encoding was eEncoding

[Lldb-commits] [PATCH] D49980: [PDB] Parse UDT symbols and pointers to members (combined patch)

2018-08-16 Thread Raphael Isemann via Phabricator via lldb-commits
teemperor added a comment. @aleksandr.urakov Not sure if you are already working of this, but just FYI this patch introduced a few compiler warnings: /Users/teemperor/llvm/sidestuff/llvm/tools/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp:55:3: warning: default label in switch which co

[Lldb-commits] [lldb] r339965 - Remove commented out constructor from Scalar

2018-08-16 Thread Alex Langford via lldb-commits
Author: xiaobai Date: Thu Aug 16 16:23:18 2018 New Revision: 339965 URL: http://llvm.org/viewvc/llvm-project?rev=339965&view=rev Log: Remove commented out constructor from Scalar This appears to have been commented out since the initial checkin of lldb. Modified: lldb/trunk/source/Utility/Sc

[Lldb-commits] [lldb] r339974 - Add a relocation for R_AARCH64_ABS32 in ObjectFileELF

2018-08-16 Thread Stephane Sezer via lldb-commits
Author: sas Date: Thu Aug 16 17:35:47 2018 New Revision: 339974 URL: http://llvm.org/viewvc/llvm-project?rev=339974&view=rev Log: Add a relocation for R_AARCH64_ABS32 in ObjectFileELF Summary: .rela.debug_info relocations are being done via ObjectFileELF::ApplyRelocations for aarch64. Currently,