Re: [Lldb-commits] [PATCH] D25021: [LLDB][MIPS] Fix qProcessInfo to return correct pointer size based on ELF ABI

2016-09-28 Thread Nitesh Jain via lldb-commits
nitesh.jain added inline comments. Comment at: source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp:1218 @@ +1217,3 @@ +response.Printf("eflags:%" PRIx32 ";", proc_arch.GetFlags()); +if (proc_triple.isArch64Bit()) { + if (proc_arch.IsMIPS()) { --

Re: [Lldb-commits] [lldb] r282683 - Add a unit test for an x86_64 assembly inspection of

2016-09-28 Thread Jason Molenda via lldb-commits
Good suggestions, thanks. I'll fix those when I commit the 32-bit version of the same test. J > On Sep 28, 2016, at 9:28 PM, Zachary Turner wrote: > > > > On Wed, Sep 28, 2016 at 9:10 PM Jason Molenda via lldb-commits > wrote: > > + EXPECT_TRUE(regloc.GetOffset() == -8); > This should b

Re: [Lldb-commits] [lldb] r282683 - Add a unit test for an x86_64 assembly inspection of

2016-09-28 Thread Zachary Turner via lldb-commits
On Wed, Sep 28, 2016 at 9:10 PM Jason Molenda via lldb-commits < lldb-commits@lists.llvm.org> wrote: > > + EXPECT_TRUE(regloc.GetOffset() == -8); > This should be EXPECT_EQ(-8, regloc.GetOffset()); That way if it fails, you'll get a handy error message that says: Expected: -8 Actual: -7 If yo

[Lldb-commits] [lldb] r282683 - Add a unit test for an x86_64 assembly inspection of

2016-09-28 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Wed Sep 28 23:01:43 2016 New Revision: 282683 URL: http://llvm.org/viewvc/llvm-project?rev=282683&view=rev Log: Add a unit test for an x86_64 assembly inspection of a large stack frame with lots of spilled registers. While writing the i386 version of this test, it looks li

Re: [Lldb-commits] [lldb] r282659 - Re-commit the changes from r282565 that I had to back out because of

2016-09-28 Thread Zachary Turner via lldb-commits
On Wed, Sep 28, 2016 at 6:09 PM Jason Molenda via lldb-commits < lldb-commits@lists.llvm.org> wrote: > > +#include "x86AssemblyInspectionEngine.h" > + > +#include "llvm-c/Disassembler.h" > + > +#include "lldb/Core/Address.h" > +#include "lldb/Symbol/UnwindPlan.h" > +#include "lldb/Target/RegisterC

Re: [Lldb-commits] [lldb] r282657 - Fixed TestObjCStructArgument/i386; expressions can now call ObjC class methods.

2016-09-28 Thread Zachary Turner via lldb-commits
On Wed, Sep 28, 2016 at 5:54 PM Sean Callanan via lldb-commits < lldb-commits@lists.llvm.org> wrote: > Author: spyffe > Date: Wed Sep 28 19:45:33 2016 > New Revision: 282657 > > URL: http://llvm.org/viewvc/llvm-project?rev=282657&view=rev > Log: > Fixed TestObjCStructArgument/i386; expressions can

Re: [Lldb-commits] [lldb] r282648 - Fix an issue where libc++ changed the type information we get for std::map::iterator, rendering LLDB unable to display elements vended by an iterator

2016-09-28 Thread Zachary Turner via lldb-commits
On Wed, Sep 28, 2016 at 4:02 PM Enrico Granata via lldb-commits < lldb-commits@lists.llvm.org> wrote: > > - > + > + static ConstString g___i_("__i_"); > + >// this must be a ValueObject* because it is a child of the ValueObject > we are >// producing children for >// it if were a Valu

[Lldb-commits] [lldb] r282657 - Fixed TestObjCStructArgument/i386; expressions can now call ObjC class methods.

2016-09-28 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Wed Sep 28 19:45:33 2016 New Revision: 282657 URL: http://llvm.org/viewvc/llvm-project?rev=282657&view=rev Log: Fixed TestObjCStructArgument/i386; expressions can now call ObjC class methods. Modified: lldb/trunk/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp

[Lldb-commits] [PATCH] D25057: Fix ARM/AArch64 Step-Over watchpoint issue remove provision for duplicate watchpoints

2016-09-28 Thread Muhammad Omair Javaid via lldb-commits
omjavaid created this revision. omjavaid added a reviewer: labath. omjavaid added a subscriber: lldb-commits. Herald added subscribers: samparker, srhines, danalbert, tberghammer, rengolin, aemerson. On ARM Linux targets watchpoints are reported by PTrace before the instruction causing watchpoi

[Lldb-commits] [lldb] r282653 - Introduced a null check to avoid a crash in a test on i386.

2016-09-28 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Wed Sep 28 19:16:37 2016 New Revision: 282653 URL: http://llvm.org/viewvc/llvm-project?rev=282653&view=rev Log: Introduced a null check to avoid a crash in a test on i386. Modified: lldb/trunk/source/Target/StackFrame.cpp Modified: lldb/trunk/source/Target/StackFrame.cpp

[Lldb-commits] Buildbot numbers for the last week of 9/18/2016 - 9/24/2016

2016-09-28 Thread Galina Kistanova via lldb-commits
Hello everyone, Below are some buildbot numbers for the last week of 9/18/2016 - 9/24/2016. Please see the same data in attached csv files: The longest time each builder was red during the last week; "Status change ratio" by active builder (percent of builds that changed the builder status from

Re: [Lldb-commits] [PATCH] D6127: Fix code formatting in lldbtest.py introduced with r220583.

2016-09-28 Thread Eugene Zelenko via lldb-commits
Eugene.Zelenko added a subscriber: Eugene.Zelenko. Eugene.Zelenko closed this revision. Eugene.Zelenko added a comment. Committed in https://reviews.llvm.org/rL221467. https://reviews.llvm.org/D6127 ___ lldb-commits mailing list lldb-commits@lists.l

[Lldb-commits] [lldb] r282648 - Fix an issue where libc++ changed the type information we get for std::map::iterator, rendering LLDB unable to display elements vended by an iterator

2016-09-28 Thread Enrico Granata via lldb-commits
Author: enrico Date: Wed Sep 28 17:53:16 2016 New Revision: 282648 URL: http://llvm.org/viewvc/llvm-project?rev=282648&view=rev Log: Fix an issue where libc++ changed the type information we get for std::map::iterator, rendering LLDB unable to display elements vended by an iterator Fixes Mod

[Lldb-commits] [lldb] r282632 - Add the ability for the task port to change when a process execs.

2016-09-28 Thread Greg Clayton via lldb-commits
Author: gclayton Date: Wed Sep 28 16:07:34 2016 New Revision: 282632 URL: http://llvm.org/viewvc/llvm-project?rev=282632&view=rev Log: Add the ability for the task port to change when a process execs. Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/exec/TestExec.py l

Re: [Lldb-commits] [lldb] r282529 - Adding a RegisterContextMinidump_x86_64 converter

2016-09-28 Thread Tim Hammerquist via lldb-commits
Yep, looks like r282565 fixed the llvm.org tests, but broke another bot. r282566 fixed the other bot, but broke the llvm.org tests again. http://lab.llvm.org:8080/green/view/LLDB/job/lldb_build_test/20757/ On Wed, Sep 28, 2016 at 1:48 PM, Tim Hammerquist wrote: > Looks like there was some work

Re: [Lldb-commits] [lldb] r282529 - Adding a RegisterContextMinidump_x86_64 converter

2016-09-28 Thread Tim Hammerquist via lldb-commits
Looks like there was some work to address this in r282565 here: http://lab.llvm.org:8080/green/view/LLDB/job/lldb_build_test/20756/ However, the issue occurred again on the very next run. On Wed, Sep 28, 2016 at 1:41 PM, Tim Hammerquist wrote: > This change seems to have introduced a linker fa

[Lldb-commits] [lldb] r282628 - use assertEquals in TestSBTypeClassMembers

2016-09-28 Thread Todd Fiala via lldb-commits
Author: tfiala Date: Wed Sep 28 15:39:50 2016 New Revision: 282628 URL: http://llvm.org/viewvc/llvm-project?rev=282628&view=rev Log: use assertEquals in TestSBTypeClassMembers This change replaces the self.assertTrue() calls with self.assertEquals() so that test failures get more context on failu

Re: [Lldb-commits] [lldb] r282529 - Adding a RegisterContextMinidump_x86_64 converter

2016-09-28 Thread Tim Hammerquist via lldb-commits
This change seems to have introduced a linker failure while building the gtest suite: Ld build/Release/lldb-gtest normal x86_64 cd "/Users/buildslave/jenkins/sharedspace/lldb@2/lldb" export MACOSX_DEPLOYMENT_TARGET=10.9 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.x

Re: [Lldb-commits] [PATCH] D24863: Keep dependencies separated between static and dynamic libraries. Fix for bug #28127.

2016-09-28 Thread Michael Kruse via lldb-commits
Meinersbur requested changes to this revision. Meinersbur added a comment. The description of `LLVM_LINK_LLVM_DYLIB` reads: > Link tools against the libllvm dynamic library that is, its intend is what this patch would disable (for dynamic modules). I assume that you would like lldb-server to w

[Lldb-commits] [lldb] r282605 - zorg Xcode python test suite target arch update

2016-09-28 Thread Todd Fiala via lldb-commits
Author: tfiala Date: Wed Sep 28 11:43:47 2016 New Revision: 282605 URL: http://llvm.org/viewvc/llvm-project?rev=282605&view=rev Log: zorg Xcode python test suite target arch update This changes the Xcode target used by the Green Dragon Xcode CI. When calling xcodebuild with LLDB_PYTHON_TESTSUITE_

Re: [Lldb-commits] [PATCH] D25021: [LLDB][MIPS] Fix qProcessInfo to return correct pointer size based on ELF ABI

2016-09-28 Thread Greg Clayton via lldb-commits
clayborg requested changes to this revision. clayborg added a comment. This revision now requires changes to proceed. We need to send each flag individually. See inlined comments. Comment at: source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp:1887 @@ -1885,1 +18

Re: [Lldb-commits] [PATCH] D25021: [LLDB][MIPS] Fix qProcessInfo to return correct pointer size based on ELF ABI

2016-09-28 Thread Pavel Labath via lldb-commits
labath added a comment. Looks good as far as I am concerned. Just a couple of nits here and there. Comment at: source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp:1887 @@ -1885,1 +1886,3 @@ ++num_keys_decoded; +} else if (name.equals("eflags"

[Lldb-commits] [PATCH] D25021: [LLDB][MIPS] Fix qProcessInfo to return correct pointer size based on ELF ABI

2016-09-28 Thread Nitesh Jain via lldb-commits
nitesh.jain created this revision. nitesh.jain added reviewers: clayborg, labath. nitesh.jain added subscribers: jaydeep, bhushan, slthakur, lldb-commits. nitesh.jain set the repository for this revision to rL LLVM. In case of MIPS64, the pointer size depends on ELF abi. The MIPS64 currently supp

Re: [Lldb-commits] [PATCH] D24610: LLDB Arm Watchpoints: Use single hardware watchpoint slot to watch multiple bytes where possible

2016-09-28 Thread Pavel Labath via lldb-commits
labath added a comment. In https://reviews.llvm.org/D24610#554587, @omjavaid wrote: > Give this approach a rethink I dont see a lot of problems with this final > implementation unless it fails on other architectures. > We are already hacking our way to have these byte selection watchpoints > w