[Lldb-commits] [PATCH] D25864: Fix arm64 floating point register spill recording in UnwindPlan analysis

2016-10-24 Thread Jason Molenda via lldb-commits
jasonmolenda added a comment. Hi Tamas, sorry for not replying earlier, something urgent came up that I needed to look at. Thanks for the review. I agree with using your existing arm64 register enums in lldb-arm64-register-enums.h. I'd like to remove the enums in RegisterInfos_arm64.h

Re: [Lldb-commits] LLGS for Free/NetBSD (was: Re: [PATCH] D25756: FreeBSD ARM support for software single step.)

2016-10-24 Thread Saleem Abdulrasool via lldb-commits
On Mon, Oct 24, 2016 at 11:38 AM, Ed Maste via lldb-commits < lldb-commits@lists.llvm.org> wrote: > On 24 October 2016 at 06:26, Pavel Labath wrote: > > > > It's not my place to tell you how to work, but I'd recommend a > > different approach to this. If you base your work on

[Lldb-commits] [lldb] r285032 - remove xfail from TestObjCNewSyntax.py test_expr_gmodules()

2016-10-24 Thread Todd Fiala via lldb-commits
Author: tfiala Date: Mon Oct 24 16:46:46 2016 New Revision: 285032 URL: http://llvm.org/viewvc/llvm-project?rev=285032=rev Log: remove xfail from TestObjCNewSyntax.py test_expr_gmodules() Fixes: rdar://27792848 Modified:

[Lldb-commits] [PATCH] D25926: Don't set a software stepping breakpoint at 0 on arm or mips.

2016-10-24 Thread Jason Majors via lldb-commits
jmajors created this revision. jmajors added a reviewer: labath. jmajors added a subscriber: lldb-commits. Herald added subscribers: srhines, danalbert, tberghammer, rengolin, aemerson. Added a test for the next_pc being zero before setting a software breakpoint in arm32 and mips. Reenabled the

[Lldb-commits] [PATCH] D25922: Test infra: expose CFLAGS_NO_ARCH for use by test custom build rules

2016-10-24 Thread Todd Fiala via lldb-commits
tfiala created this revision. tfiala added reviewers: jingham, labath. tfiala added a subscriber: lldb-commits. The TestUniversal.py test was attempting to build its own CFLAGS unreliably. Essentially it just wanted the prevailing CFLAGS without the arch spec. This change does the following:

Re: [Lldb-commits] LLGS for Free/NetBSD (was: Re: [PATCH] D25756: FreeBSD ARM support for software single step.)

2016-10-24 Thread Kamil Rytarowski via lldb-commits
On 24.10.2016 20:38, Ed Maste wrote: > On 24 October 2016 at 06:26, Pavel Labath wrote: >> >> It's not my place to tell you how to work, but I'd recommend a >> different approach to this. If you base your work on the current >> FreeBSD in-process plugin, then when you get

[Lldb-commits] [PATCH] D25905: Minidump plugin: Adding ProcessMinidump, ThreadMinidump and register the plugin in SystemInitializerFull

2016-10-24 Thread Dimitar Vlahovski via lldb-commits
dvlahovski added a comment. Please ignore the `RegisterContextMinidump_x86_*` changes. Can't seem to make `arc diff` understand what I want. https://reviews.llvm.org/D25905 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [PATCH] D25905: Minidump plugin: Adding ProcessMinidump, ThreadMinidump and register the plugin in SystemInitializerFull

2016-10-24 Thread Dimitar Vlahovski via lldb-commits
dvlahovski updated this revision to Diff 75617. dvlahovski marked 6 inline comments as done. dvlahovski added a comment. Addressed Pavel's comments. https://reviews.llvm.org/D25905 Files: packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/TestMiniDumpNew.py

[Lldb-commits] [PATCH] D25905: Minidump plugin: Adding ProcessMinidump, ThreadMinidump and register the plugin in SystemInitializerFull

2016-10-24 Thread Pavel Labath via lldb-commits
labath added a comment. first round of comments. I will give this another look tomorrow. Comment at: packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/linux-x86_64_not_crashed.cpp:7 +int +bar(int x) +{ Please format these consistently

[Lldb-commits] [lldb] r284987 - Use shorter names in TestConcurrentEvents tests

2016-10-24 Thread Pavel Labath via lldb-commits
Author: labath Date: Mon Oct 24 11:20:43 2016 New Revision: 284987 URL: http://llvm.org/viewvc/llvm-project?rev=284987=rev Log: Use shorter names in TestConcurrentEvents tests Otherwise, they tend to generate filename too long errors. They already contain the same test name in the directory,

[Lldb-commits] [lldb] r284981 - Fix arm64 sub-register definitions

2016-10-24 Thread Pavel Labath via lldb-commits
Author: labath Date: Mon Oct 24 09:57:50 2016 New Revision: 284981 URL: http://llvm.org/viewvc/llvm-project?rev=284981=rev Log: Fix arm64 sub-register definitions The "value regs" field was filled incorrectly. It is supposed to list the registers that *this* register is a sub-register of, not

[Lldb-commits] [PATCH] D25832: Minidump plugin: Adding x86_32 register context converter

2016-10-24 Thread Dimitar Vlahovski via lldb-commits
dvlahovski added inline comments. Comment at: unittests/Process/minidump/MinidumpParserTest.cpp:279 // Register stuff // TODO probably split register stuff tests into different file? +#define REG_VAL32(x) *(reinterpret_cast(x)) labath wrote: > If you want to

[Lldb-commits] [PATCH] D25832: Minidump plugin: Adding x86_32 register context converter

2016-10-24 Thread Dimitar Vlahovski via lldb-commits
dvlahovski updated this revision to Diff 75578. dvlahovski marked 3 inline comments as done. dvlahovski added a comment. Fixes regarding Pavel's comments https://reviews.llvm.org/D25832 Files: source/Plugins/Process/minidump/CMakeLists.txt

[Lldb-commits] [PATCH] D25832: Minidump plugin: Adding x86_32 register context converter

2016-10-24 Thread Pavel Labath via lldb-commits
labath accepted this revision. labath added a comment. This revision is now accepted and ready to land. looks good, minor comments below. Comment at: source/Plugins/Process/minidump/RegisterContextMinidump_x86_32.h:37 +// This way we can reuse the already existing register

[Lldb-commits] [lldb] r284976 - Reformat RegisterInfos_arm64 into a table. NFC

2016-10-24 Thread Pavel Labath via lldb-commits
Author: labath Date: Mon Oct 24 09:01:52 2016 New Revision: 284976 URL: http://llvm.org/viewvc/llvm-project?rev=284976=rev Log: Reformat RegisterInfos_arm64 into a table. NFC Modified: lldb/trunk/source/Plugins/Process/Utility/RegisterInfos_arm64.h Modified:

[Lldb-commits] [lldb] r284970 - Add the new arm64 sub-register definitions to NativeRegisterContextLinux

2016-10-24 Thread Pavel Labath via lldb-commits
Author: labath Date: Mon Oct 24 07:59:20 2016 New Revision: 284970 URL: http://llvm.org/viewvc/llvm-project?rev=284970=rev Log: Add the new arm64 sub-register definitions to NativeRegisterContextLinux It's quite sad that we have to edit so many files just to add a register. I am going to

[Lldb-commits] [PATCH] D25905: Minidump plugin: Adding ProcessMinidump, ThreadMinidump and register the plugin in SystemInitializerFull

2016-10-24 Thread Dimitar Vlahovski via lldb-commits
dvlahovski created this revision. dvlahovski added reviewers: labath, zturner. dvlahovski added subscribers: amccarth, lldb-commits. Herald added subscribers: modocache, mgorny, beanz. This plugin resembles the already existing Windows-only Minidump plugin. The WinMinidumpPlugin uses the Windows