[Lldb-commits] [PATCH] [Accepted] D24498: [LLDB][MIPS] Fix TestReturnValue failure for MIPS

2016-09-30 Thread Bhushan Attarde via lldb-commits
bhushan accepted this revision. bhushan added a comment. This revision is now accepted and ready to land. Looks good as far as correctness is concerned. https://reviews.llvm.org/D24498 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

Re: [Lldb-commits] [PATCH] D22851: [LLDB][MIPS] Add (D)SUBU, (D)ADDU, LUI instructions emulation . Fix emulation for (D)ADDIU, SD/SW and LW/LD instructions

2016-07-27 Thread Bhushan Attarde via lldb-commits
bhushan accepted this revision. bhushan added a comment. LGTM https://reviews.llvm.org/D22851 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D21064: [LLDB][MIPS] Fix Emulation of Compact branch and ADDIU instructions

2016-06-09 Thread Bhushan Attarde via lldb-commits
bhushan accepted this revision. bhushan added a comment. Looks good. Repository: rL LLVM http://reviews.llvm.org/D21064 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D17022: [LLDB][MIPS] Provide CPU string to compiler for appropriate code generation for MIPS

2016-03-15 Thread Bhushan Attarde via lldb-commits
bhushan closed this revision. bhushan added a comment. Closed by commit http://reviews.llvm.org/rL261206 Repository: rL LLVM http://reviews.llvm.org/D17022 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

Re: [Lldb-commits] [PATCH] D17022: [LLDB][MIPS] Provide CPU string to compiler for appropriate code generation for MIPS

2016-03-15 Thread Bhushan Attarde via lldb-commits
bhushan added a comment. Hi @zturner, Can you please "accept" this revision so that I can "close" this one? Repository: rL LLVM http://reviews.llvm.org/D17022 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

Re: [Lldb-commits] [PATCH] D17535: [LLDB][MIPS] Single step atomic sequences

2016-02-24 Thread Bhushan Attarde via lldb-commits
bhushan added a comment. In MIPS, we can not put a breakpoint in middle of an atomic sequence. If we do so (and that breakpoint is hit) then continuing from breakpoint address will cause "SC" to fail due to a breakpoint exception. SC fails when there’s been any exception serviced since the LL.

Re: [Lldb-commits] [lldb] r261206 - [LLDB][MIPS] Provide CPU string to compiler for appropriate code generation for MIPS

2016-02-23 Thread Bhushan Attarde via lldb-commits
These were failures with 3.7 for mipsr6. Regards, Bhushan From: hwennb...@google.com [hwennb...@google.com] on behalf of Hans Wennborg [h...@chromium.org] Sent: Tuesday, February 23, 2016 10:29 PM To: Bhushan Attarde Cc: lldb-commits@lists.llvm.org; Greg

Re: [Lldb-commits] [lldb] r261206 - [LLDB][MIPS] Provide CPU string to compiler for appropriate code generation for MIPS

2016-02-23 Thread Bhushan Attarde via lldb-commits
Hi Hans, This change fixes expression related tests for MIPS release 6 architecture (mipsr6). Regards, Bhushan -Original Message- From: hwennb...@google.com [mailto:hwennb...@google.com] On Behalf Of Hans Wennborg Sent: 23 February 2016 00:25 To: Bhushan Attarde Cc:

Re: [Lldb-commits] [lldb] r261206 - [LLDB][MIPS] Provide CPU string to compiler for appropriate code generation for MIPS

2016-02-21 Thread Bhushan Attarde via lldb-commits
Hi Hans, Could you please add this (r261206) to the release branch? Thanks, Bhushan -Original Message- From: lldb-commits [mailto:lldb-commits-boun...@lists.llvm.org] On Behalf Of Bhushan D. Attarde via lldb-commits Sent: 18 February 2016 17:23 To: lldb-commits@lists.llvm.org Subject:

Re: [Lldb-commits] [PATCH] D17022: [LLDB][MIPS] Provide CPU string to compiler for appropriate code generation for MIPS

2016-02-17 Thread Bhushan Attarde via lldb-commits
bhushan added a comment. Hi Zachary, Can you please find some time to review this? Repository: rL LLVM http://reviews.llvm.org/D17022 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

Re: [Lldb-commits] [PATCH] D17022: [LLDB][MIPS] Provide CPU string to compiler for appropriate code generation for MIPS

2016-02-16 Thread Bhushan Attarde via lldb-commits
bhushan added a comment. @zturner, Ok to commit? Repository: rL LLVM http://reviews.llvm.org/D17022 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D17022: [LLDB][MIPS] Provide CPU string to compiler for appropriate code generation for MIPS

2016-02-11 Thread Bhushan Attarde via lldb-commits
bhushan updated this revision to Diff 47621. bhushan added a comment. Addressed review comments: - Rebased this patch off top of tree - Added ArchSpec::GetClangTargetCPU() as suggested and moved large switch statement into it. Repository: rL LLVM http://reviews.llvm.org/D17022 Files:

Re: [Lldb-commits] [PATCH] D17022: [LLDB][MIPS] Provide CPU string to compiler for appropriate code generation for MIPS

2016-02-11 Thread Bhushan Attarde via lldb-commits
bhushan updated this revision to Diff 47765. bhushan added a comment. Removed assert statement so now "ArchSpec::GetClangTargetCPU ()" returns an empty string (instead of crashing) for any CPU that doesn't really need to make a special CPU string. Removed the "if (is_mips)". Repository: rL

Re: [Lldb-commits] [lldb] r260072 - [LLDB][MIPS] Fix TestExpressionInSyscall.py for MIPS

2016-02-09 Thread Bhushan Attarde via lldb-commits
Hi Hans, Could you please add this (r260072) to the release branch? Thanks, Bhushan -Original Message- From: lldb-commits [mailto:lldb-commits-boun...@lists.llvm.org] On Behalf Of Bhushan D. Attarde via lldb-commits Sent: 08 February 2016 10:06 To: lldb-commits@lists.llvm.org Subject:

[Lldb-commits] [PATCH] D17022: [LLDB][MIPS] Provide CPU string to compiler for appropriate code generation for MIPS

2016-02-09 Thread Bhushan Attarde via lldb-commits
bhushan created this revision. bhushan added reviewers: clayborg, spyffe. bhushan added subscribers: lldb-commits, nitesh.jain, jaydeep, sagar, mohit.bhakkad. bhushan set the repository for this revision to rL LLVM. Currently, LLDB (ClangExpressionParser) does not pass

Re: [Lldb-commits] [PATCH] D17022: [LLDB][MIPS] Provide CPU string to compiler for appropriate code generation for MIPS

2016-02-09 Thread Bhushan Attarde via lldb-commits
bhushan updated this revision to Diff 47422. bhushan added a comment. Addresses review comments. Used local variables instead of calling accessors each time. Repository: rL LLVM http://reviews.llvm.org/D17022 Files: source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp Index:

Re: [Lldb-commits] [PATCH] D16049: [LLDB][MIPS] A small fix in GetBreakableLoadAddress() for MIPS

2016-02-04 Thread Bhushan Attarde via lldb-commits
bhushan closed this revision. bhushan added a comment. Closed by commit http://reviews.llvm.org/rL258919 Repository: rL LLVM http://reviews.llvm.org/D16049 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [PATCH] D16916: [LLDB][MIPS] Fix TestExpressionInSyscall.py for MIPS

2016-02-04 Thread Bhushan Attarde via lldb-commits
bhushan created this revision. bhushan added a reviewer: clayborg. bhushan added subscribers: lldb-commits, nitesh.jain, mohit.bhakkad, sagar, jaydeep. bhushan set the repository for this revision to rL LLVM. This test (TestExpressionInSyscall.py) checks if we are able to evaluate expressions

Re: [Lldb-commits] [lldb] r258919 - [LLDB][MIPS] A small fix in GetBreakableLoadAddress() for MIPS

2016-02-01 Thread Bhushan Attarde via lldb-commits
Hi Hans, Could you please add this (r258919) to the release branch? Also commit r258967 (on top of this) by Zachary which fixes some python 3 incompatibilities. Thanks, Bhushan -Original Message- From: lldb-commits [mailto:lldb-commits-boun...@lists.llvm.org] On Behalf Of Bhushan D.

Re: [Lldb-commits] [lldb] r258485 - Use "_$" prefix instead of "$" for dynamic checker function inserted by LLDB during expression evaluation

2016-01-25 Thread Bhushan Attarde via lldb-commits
Hi Hans, Could you please add this to the release branch? Thanks, Bhushan -Original Message- From: lldb-commits [mailto:lldb-commits-boun...@lists.llvm.org] On Behalf Of Bhushan D. Attarde via lldb-commits Sent: 22 January 2016 10:32 To: lldb-commits@lists.llvm.org Subject:

Re: [Lldb-commits] [PATCH] D16049: [LLDB][MIPS] A small fix in GetBreakableLoadAddress() for MIPS

2016-01-20 Thread Bhushan Attarde via lldb-commits
bhushan updated this revision to Diff 45364. bhushan added a comment. As suggested by Greg, added new function `matchArchitectures(archs)` which handles "archs". This function can be used by other decorator functions for testing "archs". Repository: rL LLVM http://reviews.llvm.org/D16049

Re: [Lldb-commits] [PATCH] D16049: [LLDB][MIPS] A small fix in GetBreakableLoadAddress() for MIPS

2016-01-19 Thread Bhushan Attarde via lldb-commits
bhushan updated the summary for this revision. bhushan updated this revision to Diff 45237. bhushan added a comment. Addressed review comments. Instead of adding new decorator, this patch modifies existing `skipUnlessArch` to detect the type of the "archs" variable and do the things according to

Re: [Lldb-commits] [PATCH] D14111: Use "_$" prefix instead of "$" for dynamic checker function inserted by LLDB during expression evaluation

2016-01-19 Thread Bhushan Attarde via lldb-commits
bhushan added a comment. In http://reviews.llvm.org/D14111#330305, @spyffe wrote: > That looks fine to me as far as it goes, but it doesn't cover other places > where $ is used in function names, e.g. the name of the expression itself, > and classes it's placed in. Could you have a look at >

Re: [Lldb-commits] [PATCH] D14111: Use "_$" prefix instead of "$" for dynamic checker function inserted by LLDB during expression evaluation

2016-01-18 Thread Bhushan Attarde via lldb-commits
bhushan added a reviewer: clayborg. bhushan added a comment. Hi Greg, Can you have look into this? This patch is important to clear expression related tests for MIPS. Repository: rL LLVM http://reviews.llvm.org/D14111 ___ lldb-commits mailing

Re: [Lldb-commits] [PATCH] D16049: [LLDB][MIPS] A small fix in GetBreakableLoadAddress() for MIPS

2016-01-14 Thread Bhushan Attarde via lldb-commits
bhushan updated the summary for this revision. bhushan added a reviewer: zturner. bhushan updated this revision to Diff 44841. bhushan added a comment. Hi Zachary, If we use @skipIf then the list would require to contain all possible MIPS variations and the list will grow long. for ex:

Re: [Lldb-commits] [PATCH] D16049: [LLDB][MIPS] A small fix in GetBreakableLoadAddress() for MIPS

2016-01-14 Thread Bhushan Attarde via lldb-commits
bhushan added a comment. In http://reviews.llvm.org/D16049#326634, @labath wrote: > In http://reviews.llvm.org/D16049#326631, @bhushan wrote: > > > Hi Zachary, > > > > If we use @skipIf then the list would require to contain all possible MIPS > > variations and the list will grow long. > > for

Re: [Lldb-commits] [PATCH] D16049: [LLDB][MIPS] A small fix in GetBreakableLoadAddress() for MIPS

2016-01-13 Thread Bhushan Attarde via lldb-commits
bhushan updated this revision to Diff 44723. bhushan added a comment. This diff adds a testcase to test this patch. The test gets all assembly instructions from the function and finds out the address of instruction in delay slot. Then it tries to place a breakpoint on that address and verifies

Re: [Lldb-commits] [PATCH] D16051: [LLDB][MIPS] Merge emulation of similar instructions for MIPS64

2016-01-12 Thread Bhushan Attarde via lldb-commits
bhushan closed this revision. bhushan added a comment. Closed by commit http://reviews.llvm.org/rL257442 Repository: rL LLVM http://reviews.llvm.org/D16051 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

Re: [Lldb-commits] [PATCH] D16046: [LLDB][MIPS] Handle PIC calling convention for MIPS64

2016-01-12 Thread Bhushan Attarde via lldb-commits
bhushan closed this revision. bhushan added a comment. Closed by commit http://reviews.llvm.org/rL257441 Repository: rL LLVM http://reviews.llvm.org/D16046 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [PATCH] D16049: [LLDB][MIPS] A small fix in GetBreakableLoadAddress() for MIPS

2016-01-11 Thread Bhushan Attarde via lldb-commits
bhushan created this revision. bhushan added a reviewer: clayborg. bhushan added subscribers: lldb-commits, nitesh.jain, mohit.bhakkad, sagar, jaydeep. bhushan set the repository for this revision to rL LLVM. Repository: rL LLVM http://reviews.llvm.org/D16049 Files:

[Lldb-commits] [PATCH] D16046: [LLDB][MIPS] Handle PIC calling convention for MIPS64

2016-01-11 Thread Bhushan Attarde via lldb-commits
bhushan created this revision. bhushan added a reviewer: clayborg. bhushan added subscribers: lldb-commits, nitesh.jain, mohit.bhakkad, sagar, jaydeep. bhushan set the repository for this revision to rL LLVM. The PIC calling convention for MIPS requires that on entry to a function, register r25

Re: [Lldb-commits] [PATCH] D16049: [LLDB][MIPS] A small fix in GetBreakableLoadAddress() for MIPS

2016-01-11 Thread Bhushan Attarde via lldb-commits
bhushan added a comment. Summary: Get the load address for the address given by 'symbol' and 'function'. Earlier, this was done for 'function' only, this patch does it for 'symbol' too. Repository: rL LLVM http://reviews.llvm.org/D16049 ___

[Lldb-commits] [PATCH] D16051: [LLDB][MIPS] Merge emulation of similar instructions for MIPS64

2016-01-11 Thread Bhushan Attarde via lldb-commits
bhushan created this revision. bhushan added a reviewer: clayborg. bhushan added subscribers: lldb-commits, nitesh.jain, mohit.bhakkad, sagar, jaydeep. bhushan set the repository for this revision to rL LLVM. Currently there is a separate emulation function for each branch instruction, however

Re: [Lldb-commits] [PATCH] D15886: [LLDB][MIPS32]Merge emulation of similar instructions

2016-01-06 Thread Bhushan Attarde via lldb-commits
bhushan added a comment. Hi Pavel, Could you please confirm if http://reviews.llvm.org/rL256929 resolves the build warnings? Repository: rL LLVM http://reviews.llvm.org/D15886 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

Re: [Lldb-commits] [PATCH] D15886: [LLDB][MIPS32]Merge emulation of similar instructions

2016-01-06 Thread Bhushan Attarde via lldb-commits
bhushan closed this revision. bhushan added a comment. Closed by commit http://reviews.llvm.org/rL256915 Repository: rL LLVM http://reviews.llvm.org/D15886 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [PATCH] D15886: [LLDB][MIPS32]Merge emulation of similar instructions

2016-01-05 Thread Bhushan Attarde via lldb-commits
bhushan created this revision. bhushan added a reviewer: clayborg. bhushan added subscribers: lldb-commits, nitesh.jain, mohit.bhakkad, sagar, jaydeep. bhushan set the repository for this revision to rL LLVM. Herald added a subscriber: dsanders. Currently there is a separate emulation function

Re: [Lldb-commits] [PATCH] D13282: [MIPS] Emulate microMIPS instructions

2015-12-23 Thread Bhushan Attarde via lldb-commits
bhushan closed this revision. bhushan added a comment. This was committed on 6th Oct 15 by http://reviews.llvm.org/rL249381 ,closing it now. Repository: rL LLVM http://reviews.llvm.org/D13282 ___ lldb-commits mailing list

Re: [Lldb-commits] [PATCH] D15273: [LLDB][MIPS] Handle PIC calling convention for MIPS32

2015-12-08 Thread Bhushan Attarde via lldb-commits
bhushan closed this revision. bhushan added a comment. Closed by commit http://reviews.llvm.org/rL255005 Repository: rL LLVM http://reviews.llvm.org/D15273 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [PATCH] D13282: [MIPS] Emulate microMIPS instructions

2015-09-30 Thread Bhushan Attarde via lldb-commits
bhushan created this revision. bhushan added reviewers: clayborg, tberghammer. bhushan added subscribers: lldb-commits, nitesh.jain, mohit.bhakkad, sagar, jaydeep. bhushan set the repository for this revision to rL LLVM. This patch includes: 1. Emulation of prologue/epilogue and branch

[Lldb-commits] [PATCH] D13154: [MIPS] Use Address::GetAddressClass() instead of elf flags to decide address space of an address

2015-09-24 Thread Bhushan Attarde via lldb-commits
bhushan created this revision. bhushan added a reviewer: clayborg. bhushan added subscribers: lldb-commits, nitesh.jain, mohit.bhakkad, sagar, jaydeep. bhushan set the repository for this revision to rL LLVM. In MIPS, an application elf can contain mixed code (mips + micromips) i.e some

Re: [Lldb-commits] [PATCH] D12794: [MIPS] Add support for DT_MIPS_RLD_MAP_REL

2015-09-15 Thread Bhushan Attarde via lldb-commits
bhushan closed this revision. bhushan added a comment. Closed by commit http://reviews.llvm.org/rL247666 Repository: rL LLVM http://reviews.llvm.org/D12794 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [PATCH] D12794: [MIPS] Add support for DT_MIPS_RLD_MAP_REL

2015-09-11 Thread Bhushan Attarde via lldb-commits
bhushan created this revision. bhushan added a reviewer: clayborg. bhushan added subscribers: lldb-commits, jaydeep, sagar, mohit.bhakkad, nitesh.jain. bhushan set the repository for this revision to rL LLVM. MIPS executables now uses DT_MIPS_RLD_MAP_REL to support PIE. This tag allows debugging

[Lldb-commits] [PATCH] D12184: [MIPS] Avoid breakpoint in delay slot

2015-08-19 Thread Bhushan Attarde via lldb-commits
bhushan created this revision. bhushan added a reviewer: clayborg. bhushan added subscribers: lldb-commits, jaydeep, sagar, nitesh.jain, mohit.bhakkad. bhushan set the repository for this revision to rL LLVM. In MIPS, when a breakpoint is hit in a delay slot then the PC points to the previous

Re: [Lldb-commits] [PATCH] D11930: [MIPS]Handle floating point and aggregate return types in SysV-mips [32 bit] ABI

2015-08-13 Thread Bhushan Attarde via lldb-commits
bhushan updated this revision to Diff 32038. bhushan added a comment. Addresses review comments. (Initialized variables with default values). Repository: rL LLVM http://reviews.llvm.org/D11930 Files: source/Plugins/ABI/SysV-mips/ABISysV_mips.cpp Index: