[Lldb-commits] [lldb] remove common libc tuners (PR #66136)

2023-09-13 Thread Siva Chandra via lldb-commits
https://github.com/sivachandra closed https://github.com/llvm/llvm-project/pull/66136 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] remove common libc tuners (PR #66136)

2023-09-13 Thread Siva Chandra via lldb-commits
https://github.com/sivachandra updated https://github.com/llvm/llvm-project/pull/66136: >From d1a9fda20a2be37385b44dcbf2f73b1890fa7d78 Mon Sep 17 00:00:00 2001 From: Siva Chandra Reddy Date: Tue, 12 Sep 2023 05:42:37 + Subject: [PATCH 1/3] [libc][NFC] Make entrypoint alias targets real

Re: [Lldb-commits] Upcoming upgrade of LLVM buildbot

2020-10-13 Thread Siva Chandra via lldb-commits
On Mon, Oct 12, 2020 at 10:01 PM Galina Kistanova via lldb-commits wrote: > If somebody else could move their AnnotatedCommand bots to the staging area, > that would be much appreciated. I moved the libc bots to staging to now. Thanks, Siva Chandra

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

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

[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=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 and

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) +

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-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-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

[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

[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=rev Log: [lldb-mi] Uncomment a line in CMakeLists.txt to make linux build happy. Reviewers: zturner Subscribers: lldb-commits Differential Revision:

[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] 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=rev Log: [JITLoaderGDB] Pack the jit entry struct according to the target arch. Reviewers: clayborg Subscribers: tberghammer, dsrbecky, lldb-commits Differential

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

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. 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

[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:

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 <ema...@freebsd.org> wrote: > On 8 March 2016 at 19:02, Siva Chandra via lldb-commits > <lldb-commits@lists.llvm.org> wrote: >> Author: sivachandra >> Date: Tue Mar 8 18:02:00 2016 >> New Revision: 262970 >> &

[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=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.

[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.

[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=rev Log: [TestRegisterVariables] Adjust compiler range in expected failure decorator. Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D17972

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=50086#toc Repository:

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

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

[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

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

[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=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 over

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

[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=rev Log: [TestLibCxxAtomic] Skip for GCC. Summary: This is the form on other libc++ tests. Reviewers: sivachandra Subscribers: lldb-commits Differential Revision:

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=47886#toc Repository: rL LLVM http://reviews.llvm.org/D17230

[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:

[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=rev Log: [TestLibCxxAtomic] Fix Makefile so that the test builds on Linux. Reviewers: granata.enrico Subscribers: lldb-commits Differential Revision:

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

[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.

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=260421=260422=diff >

[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=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=47284#toc Repository: rL LLVM

[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:

[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=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] 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

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

[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=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 problem of

[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:

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=46945#toc

[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=rev Log: Revert "Use an artifical namespace so that member vars do not hide local vars." Summary: This reverts commit 8af14b5f9af68c31ac80945e5b5d56f0a14b38e4. Reverting as

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,

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 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

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

[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=rev Log: Fix a thinko in StackFrame::GetInScopeVariableList. Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D16745

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.

[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

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

[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

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

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

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. > >

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: >>

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

[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:

[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=rev Log: [TestThreadJump] Adjust match sub-string after recent change. Reviewers: zturner Subscribers: zturner, lldb-commits Differential Revision:

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:

[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=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] [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

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

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

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

2015-12-18 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added a reviewer: granata.enrico. sivachandra added a subscriber: lldb-commits. Also xfailed for GCC as there is an problem with debug info generation. http://reviews.llvm.org/D15657 Files: packages/Python/lldbsuite/test/lang/cpp/auto/Makefile

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=43284#toc Repository: rL LLVM

[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=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.enrico

Re: [Lldb-commits] [PATCH] D15437: Read macro info from .debug_macro section and use it for expression evaluation.

2015-12-15 Thread Siva Chandra via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL255729: Read macro info from .debug_macro section and use it for expression evaluation. (authored by sivachandra). Changed prior to commit: http://reviews.llvm.org/D15437?vs=42758=42938#toc

[Lldb-commits] [lldb] r255584 - Make few adjustments after r255542.

2015-12-14 Thread Siva Chandra via lldb-commits
Author: sivachandra Date: Mon Dec 14 18:26:52 2015 New Revision: 255584 URL: http://llvm.org/viewvc/llvm-project?rev=255584=rev Log: Make few adjustments after r255542. Reviewers: zturner Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D15511 Modified:

Re: [Lldb-commits] [PATCH] D15511: Make few adjustments after r255542.

2015-12-14 Thread Siva Chandra via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL255584: Make few adjustments after r255542. (authored by sivachandra). Changed prior to commit: http://reviews.llvm.org/D15511?vs=42796=42802#toc Repository: rL LLVM http://reviews.llvm.org/D15511

Re: [Lldb-commits] [PATCH] D15511: Make few adjustments after r255542.

2015-12-14 Thread Siva Chandra via lldb-commits
sivachandra added a comment. I went ahead and committed this. Repository: rL LLVM http://reviews.llvm.org/D15511 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [lldb] r255542 - Make skipIf decorator support not_in() functor.

2015-12-14 Thread Siva Chandra via lldb-commits
This change looks very innocent, but: On Mon, Dec 14, 2015 at 1:26 PM, Zachary Turner via lldb-commits wrote: > URL: > http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py?rev=255542=255541=255542=diff >

[Lldb-commits] [PATCH] D15511: Make few adjustments after r255542.

2015-12-14 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/D15511 Files: packages/Python/lldbsuite/test/lldbtest.py Index: packages/Python/lldbsuite/test/lldbtest.py

Re: [Lldb-commits] [lldb] r255592 - Welcome to NetBSD signals

2015-12-14 Thread Siva Chandra via lldb-commits
Ah, yes! Thank you. On Mon, Dec 14, 2015 at 6:41 PM, Jim Ingham <jing...@apple.com> wrote: > I think Jason already did (r255597). > > Jim > >> On Dec 14, 2015, at 6:35 PM, Siva Chandra via lldb-commits >> <lldb-commits@lists.llvm.org> wrote: >>

Re: [Lldb-commits] [lldb] r255549 - Temporarily skip TestWithLimitDebugInfo on Darwin and OS X

2015-12-14 Thread Siva Chandra via lldb-commits
I believe zturner already fixed this. However, there is a problem with his original change itself; will bring it up in a different thread. On Mon, Dec 14, 2015 at 1:49 PM, Todd Fiala via lldb-commits wrote: > Author: tfiala > Date: Mon Dec 14 15:49:39 2015 > New

Re: [Lldb-commits] [PATCH] D15437: Read macro info from .debug_macro section and use it for expression evaluation.

2015-12-14 Thread Siva Chandra via lldb-commits
sivachandra updated this revision to Diff 42754. sivachandra marked 2 inline comments as done. sivachandra added a comment. Remove storing of an unused data structure. http://reviews.llvm.org/D15437 Files: include/lldb/Symbol/CompileUnit.h include/lldb/Symbol/DebugMacros.h

Re: [Lldb-commits] [lldb] r255525 - Make debug info specification use categories system.

2015-12-14 Thread Siva Chandra via lldb-commits
On Mon, Dec 14, 2015 at 10:49 AM, Zachary Turner via lldb-commits wrote: > Modified: lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py > URL: > http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py?rev=255525=255524=255525=diff

Re: [Lldb-commits] [lldb] r255549 - Temporarily skip TestWithLimitDebugInfo on Darwin and OS X

2015-12-14 Thread Siva Chandra via lldb-commits
Looks like, though that particular test was "fixed", zturner's change triggered a whole bunch of other failures: http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-cmake/builds/9446 On Mon, Dec 14, 2015 at 1:56 PM, Siva Chandra wrote: > I believe zturner already

Re: [Lldb-commits] [lldb] r255525 - Make debug info specification use categories system.

2015-12-14 Thread Siva Chandra via lldb-commits
Previously, self.debug_info was under different functions (dwarf_test_method, dwo_test_method etc.). Now, they are all under test_method. Even I am equally ignorant about the Python nuances here. On Mon, Dec 14, 2015 at 2:04 PM, Zachary Turner wrote: > The previous code was

Re: [Lldb-commits] [lldb] r255525 - Make debug info specification use categories system.

2015-12-14 Thread Siva Chandra via lldb-commits
On Mon, Dec 14, 2015 at 2:15 PM, Zachary Turner wrote: > Diff looks like this: > > -@dwarf_test > -@wraps(attrvalue) > -def dwarf_test_method(self, attrvalue=attrvalue): > -self.debug_info = "dwarf" > -

Re: [Lldb-commits] [PATCH] D15437: Read macro info from .debug_macro section and use it for expression evaluation.

2015-12-14 Thread Siva Chandra via lldb-commits
sivachandra updated this revision to Diff 42758. sivachandra added a comment. Use std::unordered_map instead of std::map. http://reviews.llvm.org/D15437 Files: include/lldb/Symbol/CompileUnit.h include/lldb/Symbol/DebugMacros.h include/lldb/Symbol/SymbolFile.h

Re: [Lldb-commits] [PATCH] D15437: Read macro info from .debug_macro section and use it for expression evaluation.

2015-12-11 Thread Siva Chandra via lldb-commits
sivachandra added a comment. The spec says that, for a given compile unit, the macro entries in the debug info will be in the order in which the compiler processes them. Hence, at line 5 in your example, all these are relevant: #define FOO puts <<< from foo.h #undef FOO <<< from foo.h

Re: [Lldb-commits] [PATCH] D15437: Read macro info from .debug_macro section and use it for expression evaluation.

2015-12-11 Thread Siva Chandra via lldb-commits
sivachandra updated this revision to Diff 42563. sivachandra marked 11 inline comments as done. sivachandra added a comment. Address comments. http://reviews.llvm.org/D15437 Files: include/lldb/Symbol/CompileUnit.h include/lldb/Symbol/DebugMacros.h include/lldb/Symbol/SymbolFile.h

Re: [Lldb-commits] [PATCH] D15437: Read macro info from .debug_macro section and use it for expression evaluation.

2015-12-11 Thread Siva Chandra via lldb-commits
sivachandra added a comment. I have addressed all the comments (with changes or my own comments). About the problem with dwo, I have sent a mail to the GCC guys asking for guidance. Will fix it when I get clarity on that. And yes, it would definitely be good if clang can also produce

Re: [Lldb-commits] [PATCH] D15437: Read macro info from .debug_macro section and use it for expression evaluation.

2015-12-11 Thread Siva Chandra via lldb-commits
sivachandra added a comment. PTAL. I have now covered the case I missed. Added test for that as well. http://reviews.llvm.org/D15437 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [PATCH] D15437: Read macro info from .debug_macro section and use it for expression evaluation.

2015-12-10 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added reviewers: clayborg, tberghammer, spyffe. sivachandra added a subscriber: lldb-commits. DWARF 5 proposes a reinvented .debug_macro section. This change follows that spec. Currently, only GCC produces the .debug_macro section and hence the

Re: [Lldb-commits] [PATCH] D15437: Read macro info from .debug_macro section and use it for expression evaluation.

2015-12-10 Thread Siva Chandra via lldb-commits
sivachandra added a comment. The dwo_test_method fails for the added test as I think there is some GCC bug with the combination of -gsplit-dwarf and -g3. http://reviews.llvm.org/D15437 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

Re: [Lldb-commits] [PATCH] D15437: Read macro info from .debug_macro section and use it for expression evaluation.

2015-12-10 Thread Siva Chandra via lldb-commits
sivachandra added a comment. I should also mention that I did not implement the complete spec as I do not know of any producer which produces all the flavors of the new spec. http://reviews.llvm.org/D15437 ___ lldb-commits mailing list

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

2015-12-03 Thread Siva Chandra via lldb-commits
sivachandra added a comment. @dawn: Thanks for accepting the patch. I guess I still need to wait for sign-off/comments from a CODE_OWNER. http://reviews.llvm.org/D12809 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

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

2015-12-02 Thread Siva Chandra via lldb-commits
sivachandra updated this revision to Diff 41706. sivachandra added a comment. Rebased and updated to take in DWO changes. http://reviews.llvm.org/D12809 Files: include/lldb/Symbol/ClangASTContext.h include/lldb/Symbol/CompilerDeclContext.h include/lldb/Symbol/GoASTContext.h

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

2015-12-02 Thread Siva Chandra via lldb-commits
sivachandra added a comment. A test for this already exists: TestCallStdStringFunction.py 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-12-02 Thread Siva Chandra via lldb-commits
sivachandra added a comment. PTaL I finally got time to work on this. I have now rebased it and updated it take in DWO changes. I understand this change only enhances debug experience when GCC is used as the DWARF producer (the targeted functionality already works as expected when the

Re: [Lldb-commits] [PATCH] D14881: Revert "Make skipIf support the not_in function (second attempt)."

2015-11-20 Thread Siva Chandra via lldb-commits
sivachandra added a comment. Reverting as this introduces more regressions. http://reviews.llvm.org/D14881 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [PATCH] D14881: Revert "Make skipIf support the not_in function (second attempt)."

2015-11-20 Thread Siva Chandra via lldb-commits
sivachandra created this revision. sivachandra added reviewers: amccarth, zturner. sivachandra added a subscriber: lldb-commits. This reverts commit 70dca28976ee8137acce2cc203dd394f4d761276. http://reviews.llvm.org/D14881 Files: packages/Python/lldbsuite/test/lldbtest.py Index:

  1   2   >