Re: [Lldb-commits] [PATCH] D15657: [TestCPPAuto] On linux, we need -fno-limit-debug-info.

2015-12-18 Thread Siva Chandra via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL256067: [TestCPPAuto] On linux, we need -fno-limit-debug-info. (authored by sivachandra). Changed prior to commit: http://reviews.llvm.org/D15657?vs=43283&id=43284#toc Repository: rL LLVM http://rev

[Lldb-commits] [lldb] r256067 - [TestCPPAuto] On linux, we need -fno-limit-debug-info.

2015-12-18 Thread Siva Chandra via lldb-commits
Author: sivachandra Date: Fri Dec 18 18:52:29 2015 New Revision: 256067 URL: http://llvm.org/viewvc/llvm-project?rev=256067&view=rev Log: [TestCPPAuto] On linux, we need -fno-limit-debug-info. Summary: Also xfailed for GCC as there is an problem with debug info generation. Reviewers: granata.enr

Re: [Lldb-commits] [PATCH] D12809: Better scheme to lookup alternate mangled name when looking up function address.

2016-01-06 Thread Siva Chandra via lldb-commits
sivachandra added a comment. Thanks a lot Dwan Perchik, for persisting on my behalf. And thanks to Sean and Greg for taking a look. I second Dwan's earlier comment about Greg's code reviews. He has been the best reviewer I have worked with, internally and externally. Will commit this change sh

Re: [Lldb-commits] [PATCH] D12809: Better scheme to lookup alternate mangled name when looking up function address.

2016-01-07 Thread Siva Chandra via lldb-commits
sivachandra updated this revision to Diff 44274. sivachandra added a comment. Rebase http://reviews.llvm.org/D12809 Files: include/lldb/Symbol/ClangASTContext.h include/lldb/Symbol/CompilerDeclContext.h include/lldb/Symbol/GoASTContext.h include/lldb/Symbol/SymbolFile.h include/lldb/S

[Lldb-commits] [lldb] r257113 - Better scheme to lookup alternate mangled name when looking up function address.

2016-01-07 Thread Siva Chandra via lldb-commits
Author: sivachandra Date: Thu Jan 7 17:32:34 2016 New Revision: 257113 URL: http://llvm.org/viewvc/llvm-project?rev=257113&view=rev Log: Better scheme to lookup alternate mangled name when looking up function address. Summary: This change is relevant for inferiors compiled with GCC. GCC does not

Re: [Lldb-commits] [lldb] r257117 - Performance improvement: Change lldb so that it puts a breakpoint

2016-01-07 Thread Siva Chandra via lldb-commits
This broke TestStepNoDebug, atleast on Linux when inferior is compiled with GCC: http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-cmake/builds/10091 I am able to reproduce this on my machine. Let me know if you need any help with anything. On Thu, Jan 7, 2016 at 4:06 PM, Jason Molenda

[Lldb-commits] [PATCH] D16125: [TestThreadJump] Adjust match sub-string after recent change.

2016-01-12 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added a reviewer: zturner. sivachandra added a subscriber: lldb-commits. http://reviews.llvm.org/D16125 Files: packages/Python/lldbsuite/test/functionalities/thread/jump/TestThreadJump.py Index: packages/Python/lldbsuite/test/functionalities/thre

Re: [Lldb-commits] [PATCH] D16125: [TestThreadJump] Adjust match sub-string after recent change.

2016-01-12 Thread Siva Chandra via lldb-commits
sivachandra updated this revision to Diff 44674. sivachandra added a comment. Address comment http://reviews.llvm.org/D16125 Files: packages/Python/lldbsuite/test/functionalities/thread/jump/TestThreadJump.py Index: packages/Python/lldbsuite/test/functionalities/thread/jump/TestThreadJump.p

[Lldb-commits] [lldb] r257531 - [TestThreadJump] Adjust match sub-string after recent change.

2016-01-12 Thread Siva Chandra via lldb-commits
Author: sivachandra Date: Tue Jan 12 16:33:19 2016 New Revision: 257531 URL: http://llvm.org/viewvc/llvm-project?rev=257531&view=rev Log: [TestThreadJump] Adjust match sub-string after recent change. Reviewers: zturner Subscribers: zturner, lldb-commits Differential Revision: http://reviews.llv

Re: [Lldb-commits] [lldb] r257946 - Fix TestDebugBreak.py.

2016-01-15 Thread Siva Chandra via lldb-commits
This fails for i386 (not enabled for x86_64 anyway): http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-cmake/builds/10400 If I replace lldb.eStopReasonException with lldb.eStopReasonSignal on my local machine, it works. On Fri, Jan 15, 2016 at 2:22 PM, Zachary Turner via lldb-commits wr

Re: [Lldb-commits] [lldb] r257946 - Fix TestDebugBreak.py.

2016-01-15 Thread Siva Chandra via lldb-commits
SGTM. You want to do it? On Fri, Jan 15, 2016 at 3:24 PM, Zachary Turner wrote: > How about `lldb.eStopReasonException if osIsWindows() else > lldb.eStopReasonSignal`? > > Seems like that should work for everyone? > > On Fri, Jan 15, 2016 at 3:20 PM Siva Chandra wrote: >> >> This fails for i386

Re: [Lldb-commits] [lldb] r257644 - Fix an issue where scripted commands would not actually print any of their output if an immediate output file was set in the result object via a Python file object

2016-01-15 Thread Siva Chandra via lldb-commits
On Fri, Jan 15, 2016 at 2:18 AM, Pavel Labath via lldb-commits wrote: > I don't really understand the purpose of the test, but if the purpose > of it is to check whether something appears on stdout, then a pexpect > test does seem like the right tool for the job. > > I have tried entering the comm

Re: [Lldb-commits] [lldb] r257946 - Fix TestDebugBreak.py.

2016-01-15 Thread Siva Chandra via lldb-commits
Thanks a lot. On Fri, Jan 15, 2016 at 3:26 PM, Zachary Turner wrote: > Sure > > On Fri, Jan 15, 2016 at 3:25 PM Siva Chandra wrote: >> >> SGTM. You want to do it? >> >> On Fri, Jan 15, 2016 at 3:24 PM, Zachary Turner >> wrote: >> > How about `lldb.eStopReasonException if osIsWindows() else >> >

[Lldb-commits] [PATCH] D16745: Fix a thinko in StackFrame::GetInScopeVariableList.

2016-01-29 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added a reviewer: clayborg. sivachandra added a subscriber: lldb-commits. http://reviews.llvm.org/D16745 Files: source/Target/StackFrame.cpp Index: source/Target/StackFrame.cpp === --

Re: [Lldb-commits] [PATCH] D16745: Fix a thinko in StackFrame::GetInScopeVariableList.

2016-01-29 Thread Siva Chandra via lldb-commits
sivachandra added a comment. I found this while digging into some other problem. Test run is clean for me. http://reviews.llvm.org/D16745 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-c

[Lldb-commits] [PATCH] D16746: Use an artifical namespace so that member vars do not hide local vars.

2016-01-29 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added reviewers: clayborg, spyffe. sivachandra added a subscriber: lldb-commits. While evaluating expressions when stopped in a class method, there was a problem of member variables hiding local variables. This was happening because, in the context of

Re: [Lldb-commits] [PATCH] D16746: Use an artifical namespace so that member vars do not hide local vars.

2016-01-29 Thread Siva Chandra via lldb-commits
sivachandra added a comment. I have tested this with examples and the test run is clean. I will add tests if you think the overall approach is acceptable. http://reviews.llvm.org/D16746 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http

Re: [Lldb-commits] [PATCH] D16746: Use an artifical namespace so that member vars do not hide local vars.

2016-01-29 Thread Siva Chandra via lldb-commits
sivachandra added inline comments. Comment at: source/Target/StackFrame.cpp:600 @@ -599,3 +599,3 @@ -if (m_sc.comp_unit) +if (m_sc.comp_unit && get_file_globals) { This should not be part of this change. I have another patch for

[Lldb-commits] [lldb] r259607 - Fix a thinko in StackFrame::GetInScopeVariableList.

2016-02-02 Thread Siva Chandra via lldb-commits
Author: sivachandra Date: Tue Feb 2 17:49:41 2016 New Revision: 259607 URL: http://llvm.org/viewvc/llvm-project?rev=259607&view=rev Log: Fix a thinko in StackFrame::GetInScopeVariableList. Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D16745 Modi

Re: [Lldb-commits] [PATCH] D16746: Use an artifical namespace so that member vars do not hide local vars.

2016-02-02 Thread Siva Chandra via lldb-commits
sivachandra updated this revision to Diff 46717. sivachandra added a comment. 1. Added tests. 2. Extended the scope of this feature in presense of "using namespace ;" decls. 3. Addressed one of the two comments by Sean. Will respond to the other on the review page. http://reviews.llvm.org/D16

Re: [Lldb-commits] [PATCH] D16746: Use an artifical namespace so that member vars do not hide local vars.

2016-02-02 Thread Siva Chandra via lldb-commits
sivachandra marked an inline comment as done. sivachandra added a comment. Thanks, Greg and Sean for the review. The new version of the patch has tests also added. I also have an inline response to a comment by Sean. Comment at: source/Plugins/ExpressionParser/Clang/ClangExpre

Re: [Lldb-commits] [PATCH] D16746: Use an artifical namespace so that member vars do not hide local vars.

2016-02-02 Thread Siva Chandra via lldb-commits
sivachandra added a comment. A note to Greg: Though you have stamped green on the first version, I think you should take a look at the new version as I have changes to the API in TypeSystem (and consequently, in ClangASTContext). http://reviews.llvm.org/D16746 __

Re: [Lldb-commits] [PATCH] D16746: Use an artifical namespace so that member vars do not hide local vars.

2016-02-03 Thread Siva Chandra via lldb-commits
sivachandra added a comment. In http://reviews.llvm.org/D16746#342507, @spyffe wrote: > Siva, I've inlined my comments. I believe there's a misunderstanding about > what role //this// has in the patched version of > GetUniqueNamespaceDeclaration. In fact, as I argue in my inline comment, > /

Re: [Lldb-commits] [PATCH] D16830: Move some android platform functions to lldbplatformutil

2016-02-03 Thread Siva Chandra via lldb-commits
This change broke Android testsuite run: http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-android/builds/5147 On Wed, Feb 3, 2016 at 11:20 AM, Zachary Turner via lldb-commits wrote: > zturner added a comment. > > In http://reviews.llvm.org/D16830#343232, @zturner wrote: > >> In http://r

Re: [Lldb-commits] [PATCH] D16746: Use an artifical namespace so that member vars do not hide local vars.

2016-02-03 Thread Siva Chandra via lldb-commits
sivachandra updated this revision to Diff 46852. sivachandra added a comment. Address Sean's comment. http://reviews.llvm.org/D16746 Files: include/lldb/Symbol/ClangASTContext.h include/lldb/Symbol/CompilerDeclContext.h include/lldb/Symbol/TypeSystem.h packages/Python/lldbsuite/test/la

Re: [Lldb-commits] [PATCH] D16746: Use an artifical namespace so that member vars do not hide local vars.

2016-02-03 Thread Siva Chandra via lldb-commits
sivachandra added inline comments. Comment at: source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp:1381 @@ +1380,3 @@ +clang::NamespaceDecl *namespace_decl = ClangASTContext::GetUniqueNamespaceDeclaration( +m_ast_context,

Re: [Lldb-commits] [PATCH] D16746: Use an artifical namespace so that member vars do not hide local vars.

2016-02-03 Thread Siva Chandra via lldb-commits
sivachandra updated this revision to Diff 46861. sivachandra added a comment. Address the arg name change comment. http://reviews.llvm.org/D16746 Files: include/lldb/Symbol/ClangASTContext.h include/lldb/Symbol/CompilerDeclContext.h include/lldb/Symbol/TypeSystem.h packages/Python/lldb

Re: [Lldb-commits] [PATCH] D16746: Use an artifical namespace so that member vars do not hide local vars.

2016-02-03 Thread Siva Chandra via lldb-commits
sivachandra added a comment. Thanks a lot for the review. I have changed the arg name as suggested. I will put this patch in tomorrow morning so that I can monitor the bots afterwards. http://reviews.llvm.org/D16746 ___ lldb-commits mailing list ll

[Lldb-commits] [lldb] r259810 - Use an artifical namespace so that member vars do not hide local vars.

2016-02-04 Thread Siva Chandra via lldb-commits
Author: sivachandra Date: Thu Feb 4 12:38:35 2016 New Revision: 259810 URL: http://llvm.org/viewvc/llvm-project?rev=259810&view=rev Log: Use an artifical namespace so that member vars do not hide local vars. Summary: While evaluating expressions when stopped in a class method, there was a proble

[Lldb-commits] [PATCH] D16895: Revert "Use an artifical namespace so that member vars do not hide local vars."

2016-02-04 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added a reviewer: spyffe. sivachandra added a subscriber: lldb-commits. This reverts commit 8af14b5f9af68c31ac80945e5b5d56f0a14b38e4. Reverting as it breaks a few tests on Mac. http://reviews.llvm.org/D16895 Files: include/lldb/Symbol/ClangASTCont

[Lldb-commits] [lldb] r259823 - Revert "Use an artifical namespace so that member vars do not hide local vars."

2016-02-04 Thread Siva Chandra via lldb-commits
Author: sivachandra Date: Thu Feb 4 14:08:40 2016 New Revision: 259823 URL: http://llvm.org/viewvc/llvm-project?rev=259823&view=rev Log: Revert "Use an artifical namespace so that member vars do not hide local vars." Summary: This reverts commit 8af14b5f9af68c31ac80945e5b5d56f0a14b38e4. Revertin

Re: [Lldb-commits] [PATCH] D16895: Revert "Use an artifical namespace so that member vars do not hide local vars."

2016-02-04 Thread Siva Chandra via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL259823: Revert "Use an artifical namespace so that member vars do not hide local vars." (authored by sivachandra). Changed prior to commit: http://reviews.llvm.org/D16895?vs=46944&id=46945#toc Reposito

[Lldb-commits] [PATCH] D16900: Take 2: Use an artifical namespace so that member vars do not hide local vars.

2016-02-04 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added reviewers: spyffe, tfiala. sivachandra added a subscriber: lldb-commits. This relands r259810 with fix for failures on Mac. http://reviews.llvm.org/D16900 Files: include/lldb/Symbol/ClangASTContext.h include/lldb/Symbol/CompilerDeclContext

Re: [Lldb-commits] [PATCH] D16900: Take 2: Use an artifical namespace so that member vars do not hide local vars.

2016-02-04 Thread Siva Chandra via lldb-commits
sivachandra added inline comments. Comment at: source/Expression/ExpressionSourceCode.cpp:188 @@ +187,3 @@ +ConstString var_name = var_sp->GetName(); +if (var_name == ConstString("this") || var_name == ConstString(".block_descriptor")) +continue; -

Re: [Lldb-commits] [PATCH] D16900: Take 2: Use an artifical namespace so that member vars do not hide local vars.

2016-02-04 Thread Siva Chandra via lldb-commits
sivachandra added a comment. Thanks a lot Todd. I will put this in tomorrow morning just to be on the safer side. http://reviews.llvm.org/D16900 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinf

[Lldb-commits] [lldb] r259902 - Take 2: Use an artifical namespace so that member vars do not hide local vars.

2016-02-05 Thread Siva Chandra via lldb-commits
Author: sivachandra Date: Fri Feb 5 13:10:04 2016 New Revision: 259902 URL: http://llvm.org/viewvc/llvm-project?rev=259902&view=rev Log: Take 2: Use an artifical namespace so that member vars do not hide local vars. Summary: This relands r259810 with fix for failures on Mac. Reviewers: spyffe,

[Lldb-commits] [PATCH] D17014: [TestExprsChar] Fix a typo is failure archs list

2016-02-08 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added a reviewer: zturner. sivachandra added a subscriber: lldb-commits. http://reviews.llvm.org/D17014 Files: packages/Python/lldbsuite/test/expression_command/char/TestExprsChar.py Index: packages/Python/lldbsuite/test/expression_command/char/Te

[Lldb-commits] [lldb] r260192 - [TestExprsChar] Fix a typo is failure archs list

2016-02-08 Thread Siva Chandra via lldb-commits
Author: sivachandra Date: Mon Feb 8 20:18:50 2016 New Revision: 260192 URL: http://llvm.org/viewvc/llvm-project?rev=260192&view=rev Log: [TestExprsChar] Fix a typo is failure archs list Reviewers: zturner Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D17014 Modified

Re: [Lldb-commits] [PATCH] D17014: [TestExprsChar] Fix a typo is failure archs list

2016-02-08 Thread Siva Chandra via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL260192: [TestExprsChar] Fix a typo is failure archs list (authored by sivachandra). Changed prior to commit: http://reviews.llvm.org/D17014?vs=47283&id=47284#toc Repository: rL LLVM http://reviews.l

Re: [Lldb-commits] [lldb] r260422 - Remove expectedFailureLinux decorator.

2016-02-10 Thread Siva Chandra via lldb-commits
> Modified: > lldb/trunk/packages/Python/lldbsuite/test/lang/c/modules/TestCModules.py > URL: > http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/modules/TestCModules.py?rev=260422&r1=260421&r2=260422&view=diff > =

[Lldb-commits] [PATCH] D17182: Adjust for Python-3.

2016-02-11 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added reviewers: zturner, tfiala, labath. sivachandra added a subscriber: lldb-commits. This does not yet give us a clean testsuite run but it does help with: 1. Actually building on linux 2. Run the testsuite with over 70% tests passing on linux. ht

Re: [Lldb-commits] [PATCH] D17182: Adjust for Python-3.

2016-02-11 Thread Siva Chandra via lldb-commits
sivachandra added a comment. BTW, I should mention that the testsuite run with Python-2.x is still clean with this change applied. http://reviews.llvm.org/D17182 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bi

Re: [Lldb-commits] [PATCH] D17182: Adjust for Python-3.

2016-02-12 Thread Siva Chandra via lldb-commits
sivachandra updated this revision to Diff 47835. sivachandra marked an inline comment as done. sivachandra added a comment. Address comments http://reviews.llvm.org/D17182 Files: packages/Python/lldbsuite/test/lldbtest.py packages/Python/lldbsuite/test/plugins/builder_linux.py packages/Py

Re: [Lldb-commits] [PATCH] D17182: Adjust for Python-3.

2016-02-12 Thread Siva Chandra via lldb-commits
sivachandra added inline comments. Comment at: source/API/liblldb.exports:4 @@ -3,1 +3,2 @@ init_lld* +PyInit__lld* labath wrote: > zturner wrote: > > I don't really know what the syntax of this file is, but the symbol is > > called `PyInit__lldb`, not `PyInit__

[Lldb-commits] [lldb] r260721 - Adjust for Python-3.

2016-02-12 Thread Siva Chandra via lldb-commits
Author: sivachandra Date: Fri Feb 12 14:30:47 2016 New Revision: 260721 URL: http://llvm.org/viewvc/llvm-project?rev=260721&view=rev Log: Adjust for Python-3. Summary: This does not yet give us a clean testsuite run but it does help with: 1. Actually building on linux 2. Run the testsuite with ov

[Lldb-commits] [PATCH] D17220: [CPlusPlus/LibCxxAtomic.cpp] Fix the path to the header file.

2016-02-12 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added a reviewer: granata.enrico. sivachandra added a subscriber: lldb-commits. Gets the build going on Linux again. http://reviews.llvm.org/D17220 Files: source/Plugins/Language/CPlusPlus/LibCxxAtomic.cpp Index: source/Plugins/Language/CPlusPlus

[Lldb-commits] [PATCH] D17227: [TestLibCxxAtomic] Fix Makefile so that the test builds on Linux.

2016-02-12 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added a reviewer: granata.enrico. sivachandra added a subscriber: lldb-commits. http://reviews.llvm.org/D17227 Files: packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/atomic/Makefile Index: packages/Python/

[Lldb-commits] [lldb] r260770 - [TestLibCxxAtomic] Fix Makefile so that the test builds on Linux.

2016-02-12 Thread Siva Chandra via lldb-commits
Author: sivachandra Date: Fri Feb 12 18:09:42 2016 New Revision: 260770 URL: http://llvm.org/viewvc/llvm-project?rev=260770&view=rev Log: [TestLibCxxAtomic] Fix Makefile so that the test builds on Linux. Reviewers: granata.enrico Subscribers: lldb-commits Differential Revision: http://reviews.l

[Lldb-commits] [PATCH] D17230: [TestLibCxxAtomic] Skip for GCC.

2016-02-12 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added a reviewer: sivachandra. sivachandra added a subscriber: lldb-commits. This is the form on other libc++ tests. http://reviews.llvm.org/D17230 Files: packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/ato

[Lldb-commits] [lldb] r260793 - [TestLibCxxAtomic] Skip for GCC.

2016-02-12 Thread Siva Chandra via lldb-commits
Author: sivachandra Date: Fri Feb 12 20:11:11 2016 New Revision: 260793 URL: http://llvm.org/viewvc/llvm-project?rev=260793&view=rev Log: [TestLibCxxAtomic] Skip for GCC. Summary: This is the form on other libc++ tests. Reviewers: sivachandra Subscribers: lldb-commits Differential Revision: ht

Re: [Lldb-commits] [PATCH] D17230: [TestLibCxxAtomic] Skip for GCC.

2016-02-12 Thread Siva Chandra via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL260793: [TestLibCxxAtomic] Skip for GCC. (authored by sivachandra). Changed prior to commit: http://reviews.llvm.org/D17230?vs=47885&id=47886#toc Repository: rL LLVM http://reviews.llvm.org/D17230

[Lldb-commits] [PATCH] D17618: Improve looking up functions with equivalent mangled names.

2016-02-25 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added reviewers: spyffe, clayborg. sivachandra added a subscriber: lldb-commits. This, in a way, extends the existing "workaroud" by matching function argument type names individually [instead of just matching "(args1...)" with "(args2...)"]. For type

Re: [Lldb-commits] [PATCH] D17618: Improve looking up functions with equivalent mangled names.

2016-02-25 Thread Siva Chandra via lldb-commits
sivachandra updated this revision to Diff 49098. sivachandra added a comment. Fix a comment in file, fix formatting in another. http://reviews.llvm.org/D17618 Files: include/lldb/Symbol/SymbolFile.h packages/Python/lldbsuite/test/lang/cpp/stl/TestSTL.py packages/Python/lldbsuite/test/lang

Re: [Lldb-commits] [PATCH] D17618: Improve looking up functions with equivalent mangled names.

2016-02-25 Thread Siva Chandra via lldb-commits
sivachandra updated this revision to Diff 49138. sivachandra added a comment. Add more gtest unittests. http://reviews.llvm.org/D17618 Files: include/lldb/Symbol/SymbolFile.h packages/Python/lldbsuite/test/lang/cpp/stl/TestSTL.py packages/Python/lldbsuite/test/lang/cpp/stl/main.cpp sour

[Lldb-commits] [PATCH] D17972: [TestRegisterVariables] Adjust compiler range in expected failure decorator.

2016-03-08 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added a subscriber: lldb-commits. http://reviews.llvm.org/D17972 Files: packages/Python/lldbsuite/test/lang/c/register_variables/TestRegisterVariables.py Index: packages/Python/lldbsuite/test/lang/c/register_variables/TestRegisterVariables.py ==

Re: [Lldb-commits] [PATCH] D17972: [TestRegisterVariables] Adjust compiler range in expected failure decorator.

2016-03-08 Thread Siva Chandra via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL262970: [TestRegisterVariables] Adjust compiler range in expected failure decorator. (authored by sivachandra). Changed prior to commit: http://reviews.llvm.org/D17972?vs=50079&id=50086#toc Repository:

[Lldb-commits] [lldb] r262970 - [TestRegisterVariables] Adjust compiler range in expected failure decorator.

2016-03-08 Thread Siva Chandra via lldb-commits
Author: sivachandra Date: Tue Mar 8 18:02:00 2016 New Revision: 262970 URL: http://llvm.org/viewvc/llvm-project?rev=262970&view=rev Log: [TestRegisterVariables] Adjust compiler range in expected failure decorator. Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D17972

[Lldb-commits] [PATCH] D18008: [DWARFASTParserClang] Start with member offset of 0 for members of union types.

2016-03-09 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added a reviewer: clayborg. sivachandra added a subscriber: lldb-commits. GCC does not emit DW_AT_data_member_location for members of a union. Starting with a 0 value for member locations helps is reading union types in such cases. http://reviews.llv

[Lldb-commits] [lldb] r263085 - [DWARFASTParserClang] Start with member offset of 0 for members of union types.

2016-03-09 Thread Siva Chandra via lldb-commits
Author: sivachandra Date: Wed Mar 9 19:15:17 2016 New Revision: 263085 URL: http://llvm.org/viewvc/llvm-project?rev=263085&view=rev Log: [DWARFASTParserClang] Start with member offset of 0 for members of union types. Summary: GCC does not emit DW_AT_data_member_location for members of a union. S

Re: [Lldb-commits] [lldb] r262970 - [TestRegisterVariables] Adjust compiler range in expected failure decorator.

2016-03-14 Thread Siva Chandra via lldb-commits
On Mon, Mar 14, 2016 at 8:08 AM, Ed Maste wrote: > On 8 March 2016 at 19:02, Siva Chandra via lldb-commits > wrote: >> Author: sivachandra >> Date: Tue Mar 8 18:02:00 2016 >> New Revision: 262970 >> >> -@expectedFailureAll(compiler=

[Lldb-commits] [PATCH] D18334: [JITLoaderGDB] Pack the jit entry struct according to the target arch.

2016-03-21 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added a reviewer: clayborg. sivachandra added subscribers: lldb-commits, dsrbecky, tberghammer. http://reviews.llvm.org/D18334 Files: source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp source/Plugins/JITLoader/GDB/JITLoaderGDB.h Index: source/Plugins

Re: [Lldb-commits] [PATCH] D18334: [JITLoaderGDB] Pack the jit entry struct according to the target arch.

2016-03-21 Thread Siva Chandra via lldb-commits
sivachandra added a comment. This fixes an issue we are seeing with i386 JIT entry handling. I have chosen a least disruptive change. However, since alignment is actually determined by the ABI, one could add some API to the ABI interface to determine the packing. However, it seemed like an over

Re: [Lldb-commits] [PATCH] D18334: [JITLoaderGDB] Pack the jit entry struct according to the target arch.

2016-03-21 Thread Siva Chandra via lldb-commits
sivachandra updated this revision to Diff 51246. sivachandra added a comment. Explicitly set the alignment of the size field in the unpacked struct to 8 bytes. This should take care of the case where in the host is i386 and the target is arm (for example). http://reviews.llvm.org/D18334 Files:

Re: [Lldb-commits] [PATCH] D18334: [JITLoaderGDB] Pack the jit entry struct according to the target arch.

2016-03-21 Thread Siva Chandra via lldb-commits
sivachandra added a comment. Thanks for the quick review. I will put this in for now. Will revisit if a need for an elaborate solution arises. http://reviews.llvm.org/D18334 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llv

[Lldb-commits] [lldb] r264012 - [JITLoaderGDB] Pack the jit entry struct according to the target arch.

2016-03-21 Thread Siva Chandra via lldb-commits
Author: sivachandra Date: Mon Mar 21 19:35:31 2016 New Revision: 264012 URL: http://llvm.org/viewvc/llvm-project?rev=264012&view=rev Log: [JITLoaderGDB] Pack the jit entry struct according to the target arch. Reviewers: clayborg Subscribers: tberghammer, dsrbecky, lldb-commits Differential Revi

[Lldb-commits] [PATCH] D18377: [lldb-mi] Uncomment a line in CMakeLists.txt to make linux build happy.

2016-03-22 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added a reviewer: zturner. sivachandra added a subscriber: lldb-commits. http://reviews.llvm.org/D18377 Files: tools/lldb-mi/CMakeLists.txt Index: tools/lldb-mi/CMakeLists.txt === ---

[Lldb-commits] [lldb] r264104 - [lldb-mi] Uncomment a line in CMakeLists.txt to make linux build happy.

2016-03-22 Thread Siva Chandra via lldb-commits
Author: sivachandra Date: Tue Mar 22 16:37:56 2016 New Revision: 264104 URL: http://llvm.org/viewvc/llvm-project?rev=264104&view=rev Log: [lldb-mi] Uncomment a line in CMakeLists.txt to make linux build happy. Reviewers: zturner Subscribers: lldb-commits Differential Revision: http://reviews.ll

[Lldb-commits] [PATCH] D18379: [JITLoaderGDB] Read jit entry struct manually.

2016-03-22 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added a reviewer: clayborg. sivachandra added a subscriber: lldb-commits. Though r264012 was fancy enough to make reading the jit entry struct work with templates, the packing and alignment attributes do not work on Windows. So, this change makes it p

Re: [Lldb-commits] [PATCH] D18379: [JITLoaderGDB] Read jit entry struct manually.

2016-03-22 Thread Siva Chandra via lldb-commits
sivachandra updated this revision to Diff 51370. sivachandra added a comment. Modify according to suggestions. http://reviews.llvm.org/D18379 Files: source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp source/Plugins/JITLoader/GDB/JITLoaderGDB.h Index: source/Plugins/JITLoader/GDB/JITLoaderGDB.h

Re: [Lldb-commits] [PATCH] D18379: [JITLoaderGDB] Read jit entry struct manually.

2016-03-22 Thread Siva Chandra via lldb-commits
sivachandra added a comment. How does this look? http://reviews.llvm.org/D18379 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D18379: [JITLoaderGDB] Read jit entry struct manually.

2016-03-23 Thread Siva Chandra via lldb-commits
sivachandra updated this revision to Diff 51466. sivachandra added a comment. Address comments. http://reviews.llvm.org/D18379 Files: source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp source/Plugins/JITLoader/GDB/JITLoaderGDB.h Index: source/Plugins/JITLoader/GDB/JITLoaderGDB.h ===

Re: [Lldb-commits] [PATCH] D18379: [JITLoaderGDB] Read jit entry struct manually.

2016-03-23 Thread Siva Chandra via lldb-commits
sivachandra added inline comments. Comment at: source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp:110-119 @@ -80,3 +109,12 @@ -} // anonymous namespace end +template +T +Align(const T v, uint8_t bytes) +{ +uint8_t rem = v % bytes; +if (rem == 0) +

[Lldb-commits] [lldb] r264217 - [JITLoaderGDB] Read jit entry struct manually.

2016-03-23 Thread Siva Chandra via lldb-commits
Author: sivachandra Date: Wed Mar 23 18:27:23 2016 New Revision: 264217 URL: http://llvm.org/viewvc/llvm-project?rev=264217&view=rev Log: [JITLoaderGDB] Read jit entry struct manually. Summary: Though r264012 was fancy enough to make reading the jit entry struct work with templates, the packing a

Re: [Lldb-commits] [lldb] r267478 - Fix StackFrame::GetVariables(...) function that was broken by 261858 when lambda functions were added to Block::AppendBlockVariables(). The Stackframe::GetVariables

2016-04-25 Thread Siva Chandra via lldb-commits
AFAICT, happens only with Clang; Using g_static_var, say as "return g_static_var - 123;", fixes for me. On Mon, Apr 25, 2016 at 3:50 PM, Chaoren Lin via lldb-commits wrote: > Is g_global_var necessarily static? > > On Linux, we're only seeing 2 static variables when your test expects 3. > >> sta

Re: [Lldb-commits] [lldb] r267478 - Fix StackFrame::GetVariables(...) function that was broken by 261858 when lambda functions were added to Block::AppendBlockVariables(). The Stackframe::GetVariables

2016-04-25 Thread Siva Chandra via lldb-commits
Clang is probably right. Why bother to emit an unused file static scalar? On Mon, Apr 25, 2016 at 4:21 PM, Chaoren Lin wrote: > Ah, I see. Is that a known clang bug? > > On Mon, Apr 25, 2016 at 4:07 PM, Siva Chandra > wrote: >> >> AFAICT, happens only with Clang; Using g_static_var, say as "retu

[Lldb-commits] [PATCH] D12092: [ValueObjectSynthetic] Override GetDeclaration.

2015-08-17 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added reviewers: clayborg, granata.enrico. sivachandra added a subscriber: lldb-commits. Returns the declaration of the non-sythetic value. http://reviews.llvm.org/D12092 Files: include/lldb/Core/ValueObjectSyntheticFilter.h source/Core/ValueObj

Re: [Lldb-commits] [PATCH] D12092: [ValueObjectSynthetic] Override GetDeclaration.

2015-08-17 Thread Siva Chandra via lldb-commits
sivachandra updated this revision to Diff 32362. sivachandra added a comment. Override GetDeclaration in ValueObjectDynamicValue as well. http://reviews.llvm.org/D12092 Files: include/lldb/Core/ValueObjectDynamicValue.h include/lldb/Core/ValueObjectSyntheticFilter.h source/Core/ValueObjec

[Lldb-commits] [lldb] r245319 - [ValueObjectSynthetic and ValueObjectDynamicValue] Override GetDeclaration

2015-08-18 Thread Siva Chandra via lldb-commits
Author: sivachandra Date: Tue Aug 18 12:56:06 2015 New Revision: 245319 URL: http://llvm.org/viewvc/llvm-project?rev=245319&view=rev Log: [ValueObjectSynthetic and ValueObjectDynamicValue] Override GetDeclaration Summary: Returns the declaration of the parent (non-synthetic or static) value. Re

Re: [Lldb-commits] [PATCH] D12092: [ValueObjectSynthetic and ValueObjectDynamicValue] Override GetDeclaration

2015-08-18 Thread Siva Chandra via lldb-commits
sivachandra added a comment. Committed. Test suite is clean. http://reviews.llvm.org/D12092 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D12165: Improve tests regarding imported namespaces and chained calls in C++

2015-08-19 Thread Siva Chandra via lldb-commits
sivachandra accepted this revision. sivachandra added a comment. LGTM http://reviews.llvm.org/D12165 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D12380: Comment out DWARFCompileUnit printf spam

2015-08-26 Thread Siva Chandra via lldb-commits
sivachandra accepted this revision. This revision is now accepted and ready to land. Comment at: source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp:445 @@ -444,3 +444,3 @@ debug_aranges->AppendRange(cu_offset, range.GetRangeBase(), range.GetRangeEnd());

[Lldb-commits] [PATCH] D12613: Lookup function using full name if one with mangled name is not found.

2015-09-03 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added reviewers: clayborg, spyffe. sivachandra added a subscriber: lldb-commits. Remove expected failure decorators from tests which now should start passing. http://reviews.llvm.org/D12613 Files: source/Expression/ClangExpressionDeclMap.cpp tes

Re: [Lldb-commits] [PATCH] D12613: Lookup function using full name if one with mangled name is not found.

2015-09-03 Thread Siva Chandra via lldb-commits
sivachandra added a comment. About performance regression, I am not sure if it really does cause any; For those cases where looking up a function with mangled name actually works, the new lookup should not trigger. For those where it does not work, additional lookup could now make it work. Abo

[Lldb-commits] [lldb] r246820 - Lookup function using full name if one with mangled name is not found.

2015-09-03 Thread Siva Chandra via lldb-commits
Author: sivachandra Date: Thu Sep 3 18:27:10 2015 New Revision: 246820 URL: http://llvm.org/viewvc/llvm-project?rev=246820&view=rev Log: Lookup function using full name if one with mangled name is not found. Summary: Remove expected failure decorators from tests which now should start passing.

[Lldb-commits] [lldb] r246885 - Convert "long" input to "long long" in typemap for lldb::tid_t.

2015-09-04 Thread Siva Chandra via lldb-commits
Author: sivachandra Date: Fri Sep 4 17:26:52 2015 New Revision: 246885 URL: http://llvm.org/viewvc/llvm-project?rev=246885&view=rev Log: Convert "long" input to "long long" in typemap for lldb::tid_t. Summary: lldb::tid_t is 64 bit, but "long" need not always be 64 bit. Reviewers: chying, clayb

[Lldb-commits] [PATCH] D12653: [TestMiBreak] Replace expectedFlakeyLinux with an appropriate expectedFailureAll

2015-09-04 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added a reviewer: chaoren. sivachandra added a subscriber: lldb-commits. http://reviews.llvm.org/D12653 Files: test/tools/lldb-mi/breakpoint/TestMiBreak.py Index: test/tools/lldb-mi/breakpoint/TestMiBreak.py ===

[Lldb-commits] [lldb] r246894 - [TestMiBreak] Replace expectedFlakeyLinux with an appropriate expectedFailureAll

2015-09-04 Thread Siva Chandra via lldb-commits
Author: sivachandra Date: Fri Sep 4 18:11:38 2015 New Revision: 246894 URL: http://llvm.org/viewvc/llvm-project?rev=246894&view=rev Log: [TestMiBreak] Replace expectedFlakeyLinux with an appropriate expectedFailureAll Reviewers: chaoren Subscribers: lldb-commits Differential Revision: http://r

[Lldb-commits] [PATCH] D12809: Better scheme to lookup alternate mangled name when looking up function address.

2015-09-11 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added reviewers: clayborg, spyffe. sivachandra added a subscriber: lldb-commits. This change is relevant for inferiors compiled with GCC. GCC does not emit complete debug info std::basic_string<...>, and consequently, Clang (the LLDB compiler) does no

Re: [Lldb-commits] [PATCH] D12809: Better scheme to lookup alternate mangled name when looking up function address.

2015-09-11 Thread Siva Chandra via lldb-commits
sivachandra added a comment. Just a mention: This change does have an impact on expression evaluation performance and memory utilization. http://reviews.llvm.org/D12809 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org

Re: [Lldb-commits] [PATCH] D12809: Better scheme to lookup alternate mangled name when looking up function address.

2015-09-14 Thread Siva Chandra via lldb-commits
sivachandra added a comment. I could very well be missing something obvious. However, let me explain what I am trying to solve here. Lets take the example of std::vector::size method. The DWARF we get when compiled with GCC is as follows: < 3><0x20a3>DW_TAG_subprogram

Re: [Lldb-commits] [PATCH] D12809: Better scheme to lookup alternate mangled name when looking up function address.

2015-09-14 Thread Siva Chandra via lldb-commits
sivachandra added inline comments. Comment at: source/Expression/ClangExpressionDeclMap.cpp:661 @@ -603,4 +660,3 @@ { -FindCodeSymbolInContext( -demangled, m_parser_vars->m_sym_ctx, eFunctionNameTypeFull, sc_list); -

Re: [Lldb-commits] [PATCH] D12809: Better scheme to lookup alternate mangled name when looking up function address.

2015-09-15 Thread Siva Chandra via lldb-commits
sivachandra added inline comments. Comment at: source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h:200 @@ -198,1 +199,3 @@ +void +GetMangledNamesForFunction (const std::string &scope_qualified_name, sivachandra wrote: > spyffe wrote: > > Why is this attach

Re: [Lldb-commits] [PATCH] D12809: Better scheme to lookup alternate mangled name when looking up function address.

2015-09-16 Thread Siva Chandra via lldb-commits
sivachandra added a comment. Ping. Any suggestion on how to take this forward? http://reviews.llvm.org/D12809 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D12809: Better scheme to lookup alternate mangled name when looking up function address.

2015-09-21 Thread Siva Chandra via lldb-commits
sivachandra added a comment. Ping. The patch in its current state will require a rebase. However, any suggestions on how to take this forward would be great. I can rebase and make modifications together. http://reviews.llvm.org/D12809 ___ lldb-com

[Lldb-commits] [PATCH] D13066: Make DWARFASTParserClang::ParseChildMembers return a bool.

2015-09-22 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added a reviewer: clayborg. sivachandra added a subscriber: lldb-commits. The return value is false if any of the child members have incomplete type info. This helps in cases like these: class Foo { public: std::string str; }; ... Foo f; If a fi

Re: [Lldb-commits] [PATCH] D13066: Make DWARFASTParserClang::ParseChildMembers return a bool.

2015-09-22 Thread Siva Chandra via lldb-commits
sivachandra updated this revision to Diff 35410. sivachandra added a comment. Fix few copy-paste typos. http://reviews.llvm.org/D13066 Files: source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h test/lang/cpp/incomplete-types/Makefi

Re: [Lldb-commits] [PATCH] D13066: Make DWARFASTParserClang::ParseChildMembers return a bool.

2015-09-22 Thread Siva Chandra via lldb-commits
sivachandra added a comment. I did not touch the base classes part because there is a comment in DWARFASTParserClang::CompleteTypeFromDWARF as: // We have no choice other than to pretend that the base class // is complete. If we don't do this, clang will crash when we // call setBases() in

Re: [Lldb-commits] [PATCH] D13066: Make DWARFASTParserClang::ParseChildMembers return a bool.

2015-09-22 Thread Siva Chandra via lldb-commits
sivachandra added a comment. I have read that part of the code more closely now. It does look like it might need some fixing. Will address all your comments and send a newer version shortly. http://reviews.llvm.org/D13066 ___ lldb-commits mailing

Re: [Lldb-commits] [PATCH] D13066: Make DWARFASTParserClang::ParseChildMembers return a bool.

2015-09-22 Thread Siva Chandra via lldb-commits
sivachandra updated this revision to Diff 35444. sivachandra added a comment. Address comments. http://reviews.llvm.org/D13066 Files: source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h test/lang/cpp/incomplete-types/Makefile tes

Re: [Lldb-commits] [PATCH] D13066: DWARFASTParserClang::CompleteTypeFromDWARF: Handle incomplete baseclass or child

2015-09-22 Thread Siva Chandra via lldb-commits
sivachandra added a comment. I am not sure how portable my Makefile is. I have no idea if it will work on Windows for example. http://reviews.llvm.org/D13066 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/ma

<    1   2   3   >