[Lldb-commits] [lldb] r299417 - Enable lldm-mi commands -stack-list-locals -stack-list-variables and -var-create to work only with variables in scope

2017-04-04 Thread Ilia K via lldb-commits
Author: ki.stfu Date: Tue Apr 4 03:00:28 2017 New Revision: 299417 URL: http://llvm.org/viewvc/llvm-project?rev=299417=rev Log: Enable lldm-mi commands -stack-list-locals -stack-list-variables and -var-create to work only with variables in scope Patch by ayuckhulk Reviewers: abidh,

[Lldb-commits] [PATCH] D25592: [LLDB-MI] Minor cleanup of CMICmnLLDBUtilSBValue class

2016-10-14 Thread Ilia K via lldb-commits
ki.stfu requested changes to this revision. ki.stfu added inline comments. This revision now requires changes to proceed. Comment at: tools/lldb-mi/MICmnLLDBUtilSBValue.cpp:116 if (!bOk) -return m_pUnkwn; +return kUnresolvedValue; After couple of

[Lldb-commits] [PATCH] D25592: [LLDB-MI] Minor cleanup of CMICmnLLDBUtilSBValue class

2016-10-14 Thread Ilia K via lldb-commits
ki.stfu accepted this revision. ki.stfu added inline comments. This revision is now accepted and ready to land. Comment at: tools/lldb-mi/MICmnLLDBUtilSBValue.cpp:21-22 +static const char *kUnknownValue = "??"; +static const char *kCompositeValuePlaceholder = "{...}"; +

[Lldb-commits] [PATCH] D25592: [LLDB-MI] Minor cleanup of CMICmnLLDBUtilSBValue class

2016-10-13 Thread Ilia K via lldb-commits
ki.stfu requested changes to this revision. ki.stfu added inline comments. This revision now requires changes to proceed. Comment at: tools/lldb-mi/MICmnLLDBUtilSBValue.cpp:21-22 +static const char *kUnknownValue = "??"; +static const char *kCompositeValuePlaceholder =

[Lldb-commits] [PATCH] D25486: Fix lookup path for lldb-mi

2016-10-12 Thread Ilia K via lldb-commits
ki.stfu added inline comments. Comment at: packages/Python/lldbsuite/test/dotest.py:676-677 # If not found, disable the lldb-mi tests -lldbMiExec = None -if lldbtest_config.lldbExec and is_exe(lldbtest_config.lldbExec + "-mi"): -lldbMiExec =

[Lldb-commits] [lldb] r282135 - Fix parsing expressions to evaluate with spaces and optional args (MI)

2016-09-21 Thread Ilia K via lldb-commits
Author: ki.stfu Date: Thu Sep 22 00:08:41 2016 New Revision: 282135 URL: http://llvm.org/viewvc/llvm-project?rev=282135=rev Log: Fix parsing expressions to evaluate with spaces and optional args (MI) Summary: When extracting options for long options (starting with `--`), the use of

Re: [Lldb-commits] [PATCH] D24202: Fix parsing expressions to evaluate with spaces and optional args (MI)

2016-09-21 Thread Ilia K via lldb-commits
This revision was automatically updated to reflect the committed changes. ki.stfu marked an inline comment as done. Closed by commit rL282135: Fix parsing expressions to evaluate with spaces and optional args (MI) (authored by ki.stfu). Changed prior to commit:

Re: [Lldb-commits] [PATCH] D24202: Fix parsing expressions to evaluate with spaces and optional args (MI)

2016-09-21 Thread Ilia K via lldb-commits
ki.stfu marked an inline comment as done. Comment at: tools/lldb-mi/MICmdArgValOptionLong.cpp:187-188 @@ -186,12 +186,4 @@ const MIuint nArgIndex) { - CMIUtilString::VecString_t vecOptions; - MIuint nOptionsPresent = 0; - if

Re: [Lldb-commits] [PATCH] D24202: Fix parsing expressions to evaluate with spaces and optional args (MI)

2016-09-21 Thread Ilia K via lldb-commits
ki.stfu updated this revision to Diff 72136. ki.stfu added a comment. Rebase againt ToT; Apply clang-format & autopep; Minor fix in condition https://reviews.llvm.org/D24202 Files: packages/Python/lldbsuite/test/tools/lldb-mi/variable/TestMiVar.py tools/lldb-mi/MICmdArgValOptionLong.cpp

Re: [Lldb-commits] [PATCH] D24711: [lldb-mi] Fix implementation for a few mi commands

2016-09-20 Thread Ilia K via lldb-commits
ki.stfu added a comment. yes Repository: rL LLVM https://reviews.llvm.org/D24711 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D24711: [lldb-mi] Fix implementation for a few mi commands

2016-09-18 Thread Ilia K via lldb-commits
ki.stfu requested changes to this revision. ki.stfu added a comment. This revision now requires changes to proceed. Hi! Please add tests for commands that you fixed. I'll take a look later this week. Repository: rL LLVM https://reviews.llvm.org/D24711

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

2016-09-12 Thread Ilia K via lldb-commits
ki.stfu accepted this revision. ki.stfu added a comment. This revision is now accepted and ready to land. lgtm https://reviews.llvm.org/D23883 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [lldb] r281199 - Add MiSyntaxTestCase.test_lldbmi_output_grammar test (MI)

2016-09-12 Thread Ilia K via lldb-commits
Author: ki.stfu Date: Mon Sep 12 02:14:51 2016 New Revision: 281199 URL: http://llvm.org/viewvc/llvm-project?rev=281199=rev Log: Add MiSyntaxTestCase.test_lldbmi_output_grammar test (MI) Summary: This patch adds a new test and fixes extra new-line before exit Reviewers: abidh Subscribers:

Re: [Lldb-commits] [PATCH] D9740: Add MiSyntaxTestCase.test_lldbmi_output_grammar test (MI)

2016-09-12 Thread Ilia K via lldb-commits
This revision was automatically updated to reflect the committed changes. ki.stfu marked an inline comment as done. Closed by commit rL281199: Add MiSyntaxTestCase.test_lldbmi_output_grammar test (MI) (authored by ki.stfu). Changed prior to commit:

Re: [Lldb-commits] [PATCH] D9740: Add MiSyntaxTestCase.test_lldbmi_output_grammar test (MI)

2016-09-12 Thread Ilia K via lldb-commits
ki.stfu updated this revision to Diff 70979. ki.stfu marked 6 inline comments as done. ki.stfu added a comment. Rebase against ToT; Apply autopep8 https://reviews.llvm.org/D9740 Files: packages/Python/lldbsuite/test/tools/lldb-mi/syntax/TestMiSyntax.py tools/lldb-mi/MIDriver.cpp Index:

Re: [Lldb-commits] [PATCH] D9740: Add MiSyntaxTestCase.test_lldbmi_output_grammar test (MI)

2016-09-12 Thread Ilia K via lldb-commits
ki.stfu updated this revision to Diff 70977. ki.stfu added a comment. Herald added a subscriber: ki.stfu. Rebase against ToT https://reviews.llvm.org/D9740 Files: packages/Python/lldbsuite/test/tools/lldb-mi/syntax/TestMiSyntax.py tools/lldb-mi/MIDriver.cpp Index:

Re: [Lldb-commits] [PATCH] D24202: [lldb-mi] Fix parsing expressions to evaluate with spaces and optional args

2016-09-12 Thread Ilia K via lldb-commits
ki.stfu accepted this revision. ki.stfu added a comment. This revision is now accepted and ready to land. lgtm @edmunoz, good job. Thank you! Would you like me to commit? Repository: rL LLVM https://reviews.llvm.org/D24202 ___ lldb-commits

Re: [Lldb-commits] [PATCH] D23026: [LLDB-MI] removing requirement of a parameter for -break-insert's -f flag

2016-09-12 Thread Ilia K via lldb-commits
ki.stfu added a comment. PS: I think it will look like: Index: tools/lldb-mi/MICmdCmdBreak.cpp === --- tools/lldb-mi/MICmdCmdBreak.cpp (revision 281191) +++ tools/lldb-mi/MICmdCmdBreak.cpp (working copy) @@ -84,8 +84,7

Re: [Lldb-commits] [PATCH] D23026: [LLDB-MI] removing requirement of a parameter for -break-insert's -f flag

2016-09-12 Thread Ilia K via lldb-commits
ki.stfu requested changes to this revision. ki.stfu added a comment. This revision now requires changes to proceed. Hi @pieandcakes! I'm sorry for the delay, have a lot of work. Please folllow my inline comments, rebase against ToT and update CL's summary. Comment at:

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

2016-09-11 Thread Ilia K via lldb-commits
ki.stfu requested changes to this revision. ki.stfu added a reviewer: ki.stfu. ki.stfu added a comment. This revision now requires changes to proceed. You forgot to remove its header file https://reviews.llvm.org/D23883 ___ lldb-commits mailing

[Lldb-commits] [lldb] r281191 - Fix about a dozen compile warnings

2016-09-11 Thread Ilia K via lldb-commits
Author: ki.stfu Date: Mon Sep 12 00:25:33 2016 New Revision: 281191 URL: http://llvm.org/viewvc/llvm-project?rev=281191=rev Log: Fix about a dozen compile warnings Summary: It fixes the following compile warnings: 1. '0' flag ignored with precision and ‘%d’ gnu_printf format 2. enumeral and

Re: [Lldb-commits] [PATCH] D24331: Fix about a dozen compile warnings

2016-09-11 Thread Ilia K via lldb-commits
ki.stfu updated this revision to Diff 70976. ki.stfu added a comment. Apply clang-format https://reviews.llvm.org/D24331 Files: source/Core/Log.cpp source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp

Re: [Lldb-commits] [PATCH] D24331: Fix about a dozen compile warnings

2016-09-08 Thread Ilia K via lldb-commits
ki.stfu marked an inline comment as done. Comment at: source/Target/StackFrame.cpp:1425 @@ -1423,3 +1424,3 @@ - if (offset >= pointee->GetByteSize()) { + if (offset > 0 && uint64_t(offset) >= pointee->GetByteSize()) { int64_t index = offset / pointee->GetByteSize();

Re: [Lldb-commits] [PATCH] D24331: Fix about a dozen compile warnings

2016-09-08 Thread Ilia K via lldb-commits
ki.stfu updated this revision to Diff 70656. ki.stfu marked 3 inline comments as done. ki.stfu added a comment. Fixes per Zachary's comments https://reviews.llvm.org/D24331 Files: source/Core/Log.cpp source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp

Re: [Lldb-commits] [PATCH] D24331: Fix about a dozen compile warnings

2016-09-08 Thread Ilia K via lldb-commits
ki.stfu updated this revision to Diff 70654. ki.stfu added a comment. Apply clang-format https://reviews.llvm.org/D24331 Files: source/Core/Log.cpp source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp

Re: [Lldb-commits] [PATCH] D24331: Fix about a dozen compile warnings

2016-09-08 Thread Ilia K via lldb-commits
ki.stfu added a comment. BTW, the following warnings remain: 1. unrecognized command line option ‘-Wno-vla-extension’ 2. unrecognized command line option ‘-Wno-deprecated-register’ 3. comparison of unsigned expression >= 0 is always true [2782/3295] Building CXX object

[Lldb-commits] [PATCH] D24331: Fix about a dozen compile warnings

2016-09-08 Thread Ilia K via lldb-commits
ki.stfu created this revision. ki.stfu added reviewers: clayborg, jingham, zturner. ki.stfu added a subscriber: lldb-commits. It fixes the following compile warnings: 1. '0' flag ignored with precision and ‘%d’ gnu_printf format 2. enumeral and non-enumeral type in conditional expression 3.

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

2016-08-29 Thread Ilia K via lldb-commits
ki.stfu accepted this revision. ki.stfu added a comment. This revision is now accepted and ready to land. lgtm if tests are passed https://reviews.llvm.org/D23882 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

Re: [Lldb-commits] [PATCH] D23026: [LLDB-MI] removing requirement of a parameter for -break-insert's -f flag

2016-08-03 Thread Ilia K via lldb-commits
ki.stfu added a comment. Yes, that's what I said. We have to throw an error if location is not passed (even if -f is specified). Repository: rL LLVM https://reviews.llvm.org/D23026 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

Re: [Lldb-commits] [lldb] r277117 - Fix -break-insert not working when using absolute paths (MI)

2016-08-02 Thread Ilia K via lldb-commits
Hi Hans! The author of this commit asks me is there a chance to include this changes to 3.9 release? I'm not sure about our policy when RC has already been tagged. On Fri, Jul 29, 2016 at 9:01 AM, Ilia K via lldb-commits < lldb-commits@lists.llvm.org> wrote: > Author: ki.stfu > Date

Re: [Lldb-commits] [PATCH] D23026: [LLDB-MI] removing requirement of a parameter for -break-insert's -f flag

2016-08-01 Thread Ilia K via lldb-commits
ki.stfu added a comment. Hi! So, what you want is to create pending breakpoints without locations? I'm not sure it's the correct use of -break-insert so that lldb-mi has to exit with an error in this case. The other question is why it doesn't do that and sets BPs without locations even if -f

Re: [Lldb-commits] [PATCH] D22902: Fix -break-insert not working when using absolute paths

2016-07-29 Thread Ilia K via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL277117: Fix -break-insert not working when using absolute paths (MI) (authored by ki.stfu). Changed prior to commit: https://reviews.llvm.org/D22902?vs=66055=66079#toc Repository: rL LLVM

[Lldb-commits] [lldb] r277117 - Fix -break-insert not working when using absolute paths (MI)

2016-07-29 Thread Ilia K via lldb-commits
Author: ki.stfu Date: Fri Jul 29 01:01:20 2016 New Revision: 277117 URL: http://llvm.org/viewvc/llvm-project?rev=277117=rev Log: Fix -break-insert not working when using absolute paths (MI) Summary: When trying to parse the -break-insert arguments as a named location, the string parsing was not

Re: [Lldb-commits] [PATCH] D22902: Fix -break-insert not working when using absolute paths

2016-07-28 Thread Ilia K via lldb-commits
ki.stfu added a comment. Could you add a test case for this in packages/Python/lldbsuite/test/tools/lldb-mi/breakpoint/TestMiBreak.py? https://reviews.llvm.org/D22902 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

Re: [Lldb-commits] [PATCH] D21757: Fix lldb-mi disable/enable breakpoints commands

2016-07-14 Thread Ilia K via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL275381: Fix -break-enable/-break-disable commands (MI) (authored by ki.stfu). Changed prior to commit: http://reviews.llvm.org/D21757?vs=63928=63932#toc Repository: rL LLVM

[Lldb-commits] [lldb] r275381 - Fix -break-enable/-break-disable commands (MI)

2016-07-14 Thread Ilia K via lldb-commits
Author: ki.stfu Date: Thu Jul 14 02:43:14 2016 New Revision: 275381 URL: http://llvm.org/viewvc/llvm-project?rev=275381=rev Log: Fix -break-enable/-break-disable commands (MI) * Previously -break-enable mistakenly set BP's enabled flag to false. * These commands print fake =breakpoint-modified

Re: [Lldb-commits] [PATCH] D21757: Fix lldb-mi disable/enable breakpoints commands

2016-07-14 Thread Ilia K via lldb-commits
ki.stfu updated this revision to Diff 63928. ki.stfu added a comment. add checks for =breakpoint-modified http://reviews.llvm.org/D21757 Files: packages/Python/lldbsuite/test/tools/lldb-mi/breakpoint/TestMiBreak.py tools/lldb-mi/MICmdCmdBreak.cpp Index: tools/lldb-mi/MICmdCmdBreak.cpp

Re: [Lldb-commits] [PATCH] D21757: Fix lldb-mi disable/enable breakpoints commands

2016-07-14 Thread Ilia K via lldb-commits
ki.stfu accepted this revision. ki.stfu added a comment. @faxue, thank you for your patch! The fixes look good, but if you don't mind I gonna improve your tests. After that I'll commit this patch. Repository: rL LLVM http://reviews.llvm.org/D21757

Re: [Lldb-commits] [PATCH] D21757: Fix lldb-mi disable/enable breakpoints commands

2016-07-13 Thread Ilia K via lldb-commits
ki.stfu added a comment. Hi Chuck! Sorry for delay, didn't see this CL. I'll check it tomorrow, so pls wait one more day. Repository: rL LLVM http://reviews.llvm.org/D21757 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

Re: [Lldb-commits] [PATCH] D15593: Enhance "target modules dump line " and use it to fix MI's -symbol-list-lines.

2015-12-17 Thread Ilia K via lldb-commits
ki.stfu added inline comments. Comment at: packages/Python/lldbsuite/test/tools/lldb-mi/symbol/symbol_list_lines_inline_test.h:20 @@ -19,3 +19,3 @@ { -return a + b; +return a + b; // FUNC_mfunc } and could you pick it up at 1 line

Re: [Lldb-commits] [PATCH] D15593: Enhance "target modules dump line " and use it to fix MI's -symbol-list-lines.

2015-12-17 Thread Ilia K via lldb-commits
ki.stfu requested changes to this revision. ki.stfu added a comment. This revision now requires changes to proceed. clang-format your changes please (there are many deviations from the coding style) I'll check it on Linux and say if everything is OK. Comment at:

Re: [Lldb-commits] [PATCH] D15593: Enhance "target modules dump line " and use it to fix MI's -symbol-list-lines.

2015-12-17 Thread Ilia K via lldb-commits
ki.stfu added inline comments. Comment at: source/Commands/CommandObjectTarget.cpp:1536-1537 @@ -1508,1 +1535,4 @@ +bool has_path = (file_spec.GetDirectory().AsCString() != 0); +int ncus = module->GetNumCompileUnits(); +for (size_t i = 0; i <

Re: [Lldb-commits] [PATCH] D15593: Enhance "target modules dump line " and use it to fix MI's -symbol-list-lines.

2015-12-17 Thread Ilia K via lldb-commits
ki.stfu added inline comments. Comment at: tools/lldb-mi/MICmdCmdSymbol.cpp:226 @@ -225,3 @@ -// Skip entries which don't match the desired source. -if (strWantFile != strFile) -continue; Is strWantFile needed? Seems it's

Re: [Lldb-commits] [PATCH] D14197: Handle the options and parameters separator in every MI command

2015-11-02 Thread Ilia K via lldb-commits
ki.stfu added inline comments. Comment at: tools/lldb-mi/MICmdBase.cpp:102 @@ -99,2 +101,3 @@ m_setCmdArgs.Add(new CMICmdArgValOptionLong(m_constStrArgFrame, m_FrameArgMandatory, true, CMICmdArgValListBase::eArgValType_Number, 1)); +m_setCmdArgs.Add(new

Re: [Lldb-commits] [PATCH] D14197: Handle the options and parameters separator in every MI command

2015-11-02 Thread Ilia K via lldb-commits
ki.stfu accepted this revision. ki.stfu added a comment. This revision is now accepted and ready to land. lgtm Comment at: tools/lldb-mi/MICmdBase.cpp:102 @@ -99,2 +101,3 @@ m_setCmdArgs.Add(new CMICmdArgValOptionLong(m_constStrArgFrame, m_FrameArgMandatory, true,

Re: [Lldb-commits] [PATCH] D14197: Handle the options and parameters separator in every MI command

2015-11-01 Thread Ilia K via lldb-commits
ki.stfu requested changes to this revision. This revision now requires changes to proceed. Comment at: tools/lldb-mi/MICmdBase.cpp:102 @@ -99,2 +101,3 @@ m_setCmdArgs.Add(new CMICmdArgValOptionLong(m_constStrArgFrame, m_FrameArgMandatory, true,

Re: [Lldb-commits] [PATCH] D14177: Better handle the arguments common to all MI commands.

2015-10-29 Thread Ilia K via lldb-commits
ki.stfu added inline comments. Comment at: tools/lldb-mi/MICmdBase.h:68 @@ -67,2 +67,3 @@ virtual MIuint GetGUID(); +void ParseCommonArgs(); How about renaming it to AddCommonArgs and making it protected? Comment at:

Re: [Lldb-commits] [PATCH] D14177: Better handle the arguments common to all MI commands.

2015-10-29 Thread Ilia K via lldb-commits
ki.stfu accepted this revision. ki.stfu added a comment. This revision is now accepted and ready to land. LGTM Comment at: tools/lldb-mi/MICmdBase.h:68 @@ -67,2 +67,3 @@ virtual MIuint GetGUID(); +void AddCommonArgs(); abidh wrote: > Changed name.

Re: [Lldb-commits] [PATCH] D14060: Deprecate -m/+m dotest options in favor of test categories

2015-10-26 Thread Ilia K via lldb-commits
ki.stfu accepted this revision. ki.stfu added a comment. This revision is now accepted and ready to land. lgtm http://reviews.llvm.org/D14060 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

Re: [Lldb-commits] [PATCH] D13058: LLDB-MI: Bug when evaluating strings containing characters from non-ascii range

2015-09-26 Thread Ilia K via lldb-commits
ki.stfu accepted this revision. ki.stfu added a comment. lgtm http://reviews.llvm.org/D13058 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D13058: LLDB-MI: Bug when evaluating strings containing characters from non-ascii range

2015-09-26 Thread Ilia K via lldb-commits
ki.stfu added a comment. But you still should get lgtm from @clayborg and @granata.enrico before landing. http://reviews.llvm.org/D13058 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

Re: [Lldb-commits] [PATCH] D12977: LLDB MI addition for getting process stopped at first instruction right after launch via -exec-run

2015-09-26 Thread Ilia K via lldb-commits
ki.stfu requested changes to this revision. ki.stfu added a comment. This revision now requires changes to proceed. Update the summary + a few inline comments below. Comment at: test/tools/lldb-mi/startup_options/TestMiStartupOptions.py:13-31 @@ -12,3 +12,21 @@

[Lldb-commits] [PATCH] D13158: Allow to construct CMIUtilString using std::string directly (MI)

2015-09-25 Thread Ilia K via lldb-commits
ki.stfu created this revision. ki.stfu added reviewers: abidh, brucem. ki.stfu added subscribers: abidh, brucem, lldb-commits. Allow to construct CMIUtilString using std::string directly (MI) This patch cleans up lldb-mi code, and serves to simplify the following case: ``` std::string

Re: [Lldb-commits] [PATCH] D13158: Allow to construct CMIUtilString using std::string directly (MI)

2015-09-25 Thread Ilia K via lldb-commits
ki.stfu added inline comments. Comment at: tools/lldb-mi/MICmdInterpreter.cpp:166 @@ -165,3 +165,3 @@ m_miCmdData.strMiCmdToken = strNum.c_str(); } brucem wrote: > Can this one be changed too? Sure. http://reviews.llvm.org/D13158

Re: [Lldb-commits] [PATCH] D13158: Allow to construct CMIUtilString using std::string directly (MI)

2015-09-25 Thread Ilia K via lldb-commits
ki.stfu updated this revision to Diff 35703. ki.stfu added a comment. A little fix as @brucem requested; Remove CMIUtilString(const char *const *vpData) and CMIUtilString(const char *vpData, size_t nLen) ctors; Cleanup CMIUtilString::operator=(const std::string )

Re: [Lldb-commits] [PATCH] D13058: LLDB-MI: Bug when evaluating strings containing characters from non-ascii range

2015-09-25 Thread Ilia K via lldb-commits
ki.stfu added inline comments. Comment at: tools/lldb-mi/MICmnLLDBUtilSBValue.cpp:191-193 @@ -182,1 +190,5 @@ { +CMIUtilString summary; +if (TryGetValueSummary(summary)) +return summary; + evgeny777 wrote: > ki.stfu wrote: > > ``` > > const

Re: [Lldb-commits] [PATCH] D13158: Allow to construct CMIUtilString using std::string directly + cleanup CMIUtilString (MI)

2015-09-25 Thread Ilia K via lldb-commits
ki.stfu added a comment. I perceive it as a simple patch, so I am going to go ahead. http://reviews.llvm.org/D13158 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D13058: LLDB-MI: Bug when evaluating strings containing characters from non-ascii range

2015-09-25 Thread Ilia K via lldb-commits
ki.stfu requested changes to this revision. This revision now requires changes to proceed. Comment at: include/lldb/API/SBTypeSummary.h:125-126 @@ -124,1 +124,4 @@ + +bool +DoesPrintValue (const SBValue& value); You can use clang-format

Re: [Lldb-commits] [PATCH] D13158: Allow to construct CMIUtilString using std::string directly + cleanup CMIUtilString (MI)

2015-09-25 Thread Ilia K via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL248566: Allow to construct CMIUtilString using std::string directly + cleanup… (authored by ki.stfu). Changed prior to commit: http://reviews.llvm.org/D13158?vs=35703=35708#toc Repository: rL LLVM

[Lldb-commits] [lldb] r248566 - Allow to construct CMIUtilString using std::string directly + cleanup CMIUtilString (MI)

2015-09-25 Thread Ilia K via lldb-commits
Author: ki.stfu Date: Fri Sep 25 03:28:58 2015 New Revision: 248566 URL: http://llvm.org/viewvc/llvm-project?rev=248566=rev Log: Allow to construct CMIUtilString using std::string directly + cleanup CMIUtilString (MI) Summary: Allow to construct CMIUtilString using std::string directly +

Re: [Lldb-commits] [PATCH] D13094: LLDB-MI: Fix assignment operator in CMIUtilString

2015-09-24 Thread Ilia K via lldb-commits
ki.stfu requested changes to this revision. ki.stfu added a comment. This revision now requires changes to proceed. Your fix in assign operator looks good. Others go out of scope of this CL, so please revert them. Comment at: tools/lldb-mi/MIUtilString.cpp:41 @@ -40,3 +40,3 @@

Re: [Lldb-commits] [PATCH] D13058: LLDB-MI: Bug when evaluating strings containing characters from non-ascii range

2015-09-23 Thread Ilia K via lldb-commits
ki.stfu requested changes to this revision. ki.stfu added a comment. Please, next time make a patch with full context: svn diff --diff-cmd diff -x "-U" > mypatch.txt This will help us to reduce the review time. Comment at:

Re: [Lldb-commits] [PATCH] D12899: cmake fixups: post-build python step dependency and lldb-server dependency for lldb on Linux

2015-09-18 Thread Ilia K via lldb-commits
ki.stfu added a comment. i. e. +1 with @zturner http://reviews.llvm.org/D12899 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D12899: cmake fixups: post-build python step dependency and lldb-server dependency for lldb on Linux

2015-09-18 Thread Ilia K via lldb-commits
ki.stfu added a comment. In http://reviews.llvm.org/D12899#248657, @tberghammer wrote: > In http://reviews.llvm.org/D12899#248654, @ki.stfu wrote: > > > In http://reviews.llvm.org/D12899#248648, @zturner wrote: > > > > > One possible solution is to make an lldb-all target. > > > > > > As I said,

Re: [Lldb-commits] [PATCH] D12899: cmake fixups: post-build python step dependency and lldb-server dependency for lldb on Linux

2015-09-18 Thread Ilia K via lldb-commits
ki.stfu added a comment. In http://reviews.llvm.org/D12899#248648, @zturner wrote: > One possible solution is to make an lldb-all target. As I said, it would much better rather than changing lldb dependencies. But I'm still not sure, do we really need something like lldb-all? Why we can't use

Re: [Lldb-commits] [PATCH] D12968: Fix for lldb-mi crash in Listener code if -exec-abort MI command was invoked without getting process stopped

2015-09-18 Thread Ilia K via lldb-commits
ki.stfu added a subscriber: clayborg. ki.stfu added a comment. For me it looks like a workaround because here is assumed the SBProcess::Destroy will do all required work. @clayborg, is it permissible to make a Process::Destroy(force_kill=false) for a running process? If so, it's a bug in lldb

Re: [Lldb-commits] [PATCH] D12115: [LLDB-MI] Fix -data-info-line and -symbol-list-lines when Windows filenames are used.

2015-09-16 Thread Ilia K via lldb-commits
ki.stfu requested changes to this revision. This revision now requires changes to proceed. Comment at: test/tools/lldb-mi/symbol/main.cpp:12 @@ +11,3 @@ +// included in -symbol-list-lines main.cpp, by checking that all the lines +// are between 20 and 29. +// line 13

Re: [Lldb-commits] [PATCH] D12878: [lldb-mi] Clean up CMICmdArgSet usage.

2015-09-15 Thread Ilia K via lldb-commits
ki.stfu accepted this revision. ki.stfu added a comment. This revision is now accepted and ready to land. lgtm Comment at: tools/lldb-mi/MICmdArgSet.cpp:92 @@ -91,3 +91,3 @@ // Type:Method. // Args:vArg- (R) A command argument object. // Return: None.

Re: [Lldb-commits] [PATCH] D12634: Fix -data-evaluate-expression for array.

2015-09-04 Thread Ilia K via lldb-commits
ki.stfu requested changes to this revision. ki.stfu added a comment. This revision now requires changes to proceed. Source code looks good but please move the test to TestMiData.py. Comment at: test/tools/lldb-mi/variable/TestMiVar.py:39-42 @@ -38,2 +38,6 @@

Re: [Lldb-commits] [PATCH] D11574: Add size field to library load event

2015-08-11 Thread Ilia K via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL244573: Add size field to library load event (MI) (authored by ki.stfu). Changed prior to commit: http://reviews.llvm.org/D11574?vs=31038id=31772#toc Repository: rL LLVM