Re: [Lldb-commits] [lldb] r248985 - Fixing a subtle issue on Mac OS X systems with dSYMs (possibly

2015-09-30 Thread Zachary Turner via lldb-commits
Yea. It's definitely hard to write a normal test case for this. It's also a common problem when dealing with remote debugging scenarios. It's both hard and resource demanding (needing to have just the right Host -> Target configuration available) to test that by going through the full debugging

Re: [Lldb-commits] [lldb] r248985 - Fixing a subtle issue on Mac OS X systems with dSYMs (possibly

2015-09-30 Thread Jason Molenda via lldb-commits
Thanks for the idea Zachary, I haven't been following that. I'll look at this tomorrow. I was trying to imagine how to write a normal test case for this and it'd involve running a binary, deleting the binary off disk, then lldb attach to the process, letting it find a dSYM via spotlight which

Re: [Lldb-commits] [lldb] r248985 - Fixing a subtle issue on Mac OS X systems with dSYMs (possibly

2015-09-30 Thread Zachary Turner via lldb-commits
This is a good example of where unit tests are useful. There's already a small suite of unit tests but I'm going to start being proactive about growing it (in part by evangelizing it in response to people's commits ;-). It's not integrated into the Xcode build, but it would certainly be easy to d

[Lldb-commits] [lldb] r248985 - Fixing a subtle issue on Mac OS X systems with dSYMs (possibly

2015-09-30 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Thu Oct 1 00:37:22 2015 New Revision: 248985 URL: http://llvm.org/viewvc/llvm-project?rev=248985&view=rev Log: Fixing a subtle issue on Mac OS X systems with dSYMs (possibly introduced by r235737 but I didn't look into it too closely). A dSYM can have a per-UUID plist in i

Re: [Lldb-commits] [PATCH] D12977: LLDB MI addition for getting process stopped at first instruction right after launch via -exec-run

2015-09-30 Thread Ilia K via lldb-commits
ki.stfu accepted this revision. ki.stfu added a comment. lgtm Comment at: test/tools/lldb-mi/control/TestMiExec.py:16 @@ +15,3 @@ +@skipIfFreeBSD # Failure presumably due to StopAtEntry most likely not implemented +@expectedFailureAll("llvm.org/pr25000", oslist=["linux"

[Lldb-commits] [PATCH] D13323: Use %HOME%/.lldb/module_cache as a default module cache directory

2015-09-30 Thread Oleksiy Vyalov via lldb-commits
ovyalov created this revision. ovyalov added reviewers: clayborg, tberghammer. ovyalov added a subscriber: lldb-commits. Use %HOME%/.lldb/module_cache as a default module cache directory. http://reviews.llvm.org/D13323 Files: source/Target/Platform.cpp Index: source/Target/Platform.cpp ==

Re: [Lldb-commits] [lldb] r248971 - Use the preferred display language when making a persistent variable from a

2015-09-30 Thread Zachary Turner via lldb-commits
Hi Sean, would it be possible to add a test for this? On Wed, Sep 30, 2015 at 5:40 PM Sean Callanan via lldb-commits < lldb-commits@lists.llvm.org> wrote: > Author: spyffe > Date: Wed Sep 30 19:39:03 2015 > New Revision: 248971 > > URL: http://llvm.org/viewvc/llvm-project?rev=248971&view=rev > Lo

[Lldb-commits] [lldb] r248971 - Use the preferred display language when making a persistent variable from a

2015-09-30 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Wed Sep 30 19:39:03 2015 New Revision: 248971 URL: http://llvm.org/viewvc/llvm-project?rev=248971&view=rev Log: Use the preferred display language when making a persistent variable from a ValueObject. Modified: lldb/trunk/source/Core/ValueObject.cpp Modified: lldb/trunk/

[Lldb-commits] [lldb] r248970 - Changed PersistentExpressionState to allow symbol lookups. Clang doesn't

2015-09-30 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Wed Sep 30 19:38:06 2015 New Revision: 248970 URL: http://llvm.org/viewvc/llvm-project?rev=248970&view=rev Log: Changed PersistentExpressionState to allow symbol lookups. Clang doesn't report any (yet). Modified: lldb/trunk/include/lldb/Expression/ExpressionVariable.h

Re: [Lldb-commits] [PATCH] D13293: Trim the output of mktem in PlatformAndroid::DownloadSymbolFile

2015-09-30 Thread Oleksiy Vyalov via lldb-commits
ovyalov accepted this revision. ovyalov added a comment. This revision is now accepted and ready to land. LGTM http://reviews.llvm.org/D13293 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/ll

Re: [Lldb-commits] [PATCH] D13162: Change oat symbolization code for android to work on non-rooted devices

2015-09-30 Thread Oleksiy Vyalov via lldb-commits
ovyalov added a comment. I tried Nexus 5 and 6P with Android M. Thanks for the new patch - it's fixing the problem. Repository: rL LLVM http://reviews.llvm.org/D13162 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.or

[Lldb-commits] [lldb] r248960 - Introudce a IsTopLevelFunction() API on Language and Function

2015-09-30 Thread Enrico Granata via lldb-commits
Author: enrico Date: Wed Sep 30 18:12:22 2015 New Revision: 248960 URL: http://llvm.org/viewvc/llvm-project?rev=248960&view=rev Log: Introudce a IsTopLevelFunction() API on Language and Function This is meant to support languages that have a scripting mode with top-level code that acts as global

Re: [Lldb-commits] [PATCH] D13312: Fix Windows build due to missing path.

2015-09-30 Thread Adrian McCarthy via lldb-commits
amccarth abandoned this revision. amccarth added a comment. Same fix was already committed to fix the Linux build. http://reviews.llvm.org/D13312 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinf

Re: [Lldb-commits] [PATCH] D13312: Fix Windows build due to missing path.

2015-09-30 Thread Ed Maste via lldb-commits
emaste added a subscriber: emaste. emaste added a comment. > I'm not sure why it didn't break other platforms. It did - perhaps it worked only on OS X due to xcode path differences? It was fixed by http://reviews.llvm.org/rL248956. http://reviews.llvm.org/D13312 ___

[Lldb-commits] [PATCH] D13312: Fix Windows build due to missing path.

2015-09-30 Thread Adrian McCarthy via lldb-commits
amccarth created this revision. amccarth added reviewers: zturner, spyffe. amccarth added a subscriber: lldb-commits. This fixes the Windows build break introduced by r248934. I'm not sure why it didn't break other platforms. http://reviews.llvm.org/D13312 Files: include/lldb/Symbol/ClangAST

[Lldb-commits] [lldb] r248956 - Fix Linux build.

2015-09-30 Thread Oleksiy Vyalov via lldb-commits
Author: ovyalov Date: Wed Sep 30 17:27:55 2015 New Revision: 248956 URL: http://llvm.org/viewvc/llvm-project?rev=248956&view=rev Log: Fix Linux build. Modified: lldb/trunk/include/lldb/Symbol/ClangASTContext.h Modified: lldb/trunk/include/lldb/Symbol/ClangASTContext.h URL: http://llvm.org/

[Lldb-commits] LLVM buildnaster will be restarted tonight

2015-09-30 Thread Galina Kistanova via lldb-commits
Hello everyone, LLVM buildmaster will be restarted after 6 PM Pacific time today. Thanks Galina ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] r248936 - Fixes a potential hang in test runner timeout logic.

2015-09-30 Thread Todd Fiala via lldb-commits
Author: tfiala Date: Wed Sep 30 15:13:58 2015 New Revision: 248936 URL: http://llvm.org/viewvc/llvm-project?rev=248936&view=rev Log: Fixes a potential hang in test runner timeout logic. Part of https://llvm.org/bugs/show_bug.cgi?id=25002 In writing the new process_control test included here, I d

[Lldb-commits] [lldb] r248934 - Now persistent expression data no longer lives with the Target, but rather with

2015-09-30 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Wed Sep 30 14:57:57 2015 New Revision: 248934 URL: http://llvm.org/viewvc/llvm-project?rev=248934&view=rev Log: Now persistent expression data no longer lives with the Target, but rather with the corresponding TypeSystem. This makes sense because what kind of data there is --

[Lldb-commits] [PATCH] D13300: Run tests with dwo symbol files

2015-09-30 Thread Tamas Berghammer via lldb-commits
tberghammer created this revision. tberghammer added reviewers: clayborg, tfiala, zturner, emaste, labath. tberghammer added a subscriber: lldb-commits. Herald added subscribers: srhines, danalbert, tberghammer. Run tests with dwo symbol file dwo symbol files are generated when code compiled with

Re: [Lldb-commits] [PATCH] D12977: LLDB MI addition for getting process stopped at first instruction right after launch via -exec-run

2015-09-30 Thread Kirill Lapshin via lldb-commits
KLapshin added inline comments. Comment at: test/tools/lldb-mi/control/TestMiExec.py:16 @@ +15,3 @@ +@skipIfFreeBSD # Failure presumably due to StopAtEntry most likely not implemented +@expectedFailureAll("llvm.org/pr25000", oslist=["linux"]) +def test_lldbmi_exec_run

Re: [Lldb-commits] [PATCH] D12968: Fix for lldb-mi crash in Listener code if -exec-abort MI command was invoked without getting process stopped

2015-09-30 Thread Kirill Lapshin via lldb-commits
KLapshin added a comment. In http://reviews.llvm.org/D12968#256563, @labath wrote: > This is definitely not a proper fix for this problem, it merely sweeps the > problem under the carpet. If something like this makes a difference then it > means something has gone horribly wrong a long time ago

Re: [Lldb-commits] [PATCH] D12977: LLDB MI addition for getting process stopped at first instruction right after launch via -exec-run

2015-09-30 Thread Kirill Lapshin via lldb-commits
KLapshin marked an inline comment as done. KLapshin added a comment. Repository: rL LLVM http://reviews.llvm.org/D12977 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D12977: LLDB MI addition for getting process stopped at first instruction right after launch via -exec-run

2015-09-30 Thread Kirill Lapshin via lldb-commits
KLapshin updated this revision to Diff 36128. KLapshin added a comment. Test has been marked as XFAILed for Linux (x86_64) case. Repository: rL LLVM http://reviews.llvm.org/D12977 Files: test/tools/lldb-mi/control/TestMiExec.py tools/lldb-mi/MICmdCmdExec.cpp tools/lldb-mi/MICmdCmdExec.

Re: [Lldb-commits] [PATCH] D12977: LLDB MI addition for getting process stopped at first instruction right after launch via -exec-run

2015-09-30 Thread Kirill Lapshin via lldb-commits
KLapshin added inline comments. Comment at: test/tools/lldb-mi/control/TestMiExec.py:16 @@ +15,3 @@ +@skipIfFreeBSD # Failure presumably due to StopAtEntry most likely not implemented +def test_lldbmi_exec_run(self): +"""Test that 'lldb-mi --interpreter' can stop

[Lldb-commits] [PATCH] D13296: [LLDB] Fix watchpoint ignore feature for architectures with watchpoint_exceptions_received=before

2015-09-30 Thread Mohit Bhakkad via lldb-commits
mohit.bhakkad created this revision. mohit.bhakkad added reviewers: clayborg, jingham. mohit.bhakkad added subscribers: jaydeep, bhushan, sagar, nitesh.jain, lldb-commits. mohit.bhakkad set the repository for this revision to rL LLVM. For archs like MIPS, where watchpoints are triggered before as

Re: [Lldb-commits] [PATCH] D13241: [LLDB][MIPS] Fix hit_count for mips watchpoints

2015-09-30 Thread Zachary Turner via lldb-commits
Ahh, so the test was already failing and you're just fixing it? That's fine then, thanks. On Tue, Sep 29, 2015 at 11:24 PM Jason Molenda wrote: > jasonmolenda added a comment. > > I see, this seems reasonable to me. > > > Repository: > rL LLVM > > http://reviews.llvm.org/D13241 > > > > __

Re: [Lldb-commits] [PATCH] D13241: [LLDB][MIPS] Fix hit_count for mips watchpoints

2015-09-30 Thread Zachary Turner via lldb-commits
zturner added a comment. Ahh, so the test was already failing and you're just fixing it? That's fine then, thanks. Repository: rL LLVM http://reviews.llvm.org/D13241 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org

Re: [Lldb-commits] [PATCH] D13234: Use the correct Python lib for each build configuration generated by the Visual Studio CMake generator

2015-09-30 Thread Zachary Turner via lldb-commits
Ok, looks good On Wed, Sep 30, 2015 at 12:27 AM Vadim Macagon wrote: > enlight updated this revision to Diff 36072. > enlight added a comment. > This revision is now accepted and ready to land. > > Added an explanation of the generator expression used in this patch. > > > Repository: > rL LLVM

Re: [Lldb-commits] [PATCH] D12968: Fix for lldb-mi crash in Listener code if -exec-abort MI command was invoked without getting process stopped

2015-09-30 Thread Pavel Labath via lldb-commits
labath added a comment. This is definitely not a proper fix for this problem, it merely sweeps the problem under the carpet. If something like this makes a difference then it means something has gone horribly wrong a long time ago. I haven't been able to reproduce this locally, but I'd recommen

Re: [Lldb-commits] [PATCH] D13162: Change oat symbolization code for android to work on non-rooted devices

2015-09-30 Thread Tamas Berghammer via lldb-commits
I haven't managed to reproduce the issue you reported (what OS and Android version do you use?), but based on the description this change (not committed in yet) might fix the issue: http://reviews.llvm.org/D13293. Can you take a look? Thanks, Tamas On Wed, Sep 30, 2015 at 12:49 AM Oleksiy Vyalov

[Lldb-commits] [PATCH] D13293: Trim the output of mktem in PlatformAndroid::DownloadSymbolFile

2015-09-30 Thread Tamas Berghammer via lldb-commits
tberghammer created this revision. tberghammer added a reviewer: ovyalov. tberghammer added a subscriber: lldb-commits. Herald added subscribers: danalbert, tberghammer. Trim the output of mktem in PlatformAndroid::DownloadSymbolFile http://reviews.llvm.org/D13293 Files: source/Plugins/Platfor

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

2015-09-30 Thread Tamas Berghammer via lldb-commits
tberghammer accepted this revision. tberghammer added a comment. This revision is now accepted and ready to land. LGTM Comment at: source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp:683 @@ +682,3 @@ + +if (m_use_alt_disaasm == true) +decode_status = m_alt_dis

[Lldb-commits] [lldb] r248910 - Make the ArmUnwindInfo parsing code endian independent

2015-09-30 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Wed Sep 30 10:17:06 2015 New Revision: 248910 URL: http://llvm.org/viewvc/llvm-project?rev=248910&view=rev Log: Make the ArmUnwindInfo parsing code endian independent Differential revision: http://reviews.llvm.org/D13291 Modified: lldb/trunk/include/lldb/Symbol/ArmU

Re: [Lldb-commits] [PATCH] D13291: Make the ArmUnwindInfo parsing code endian independent

2015-09-30 Thread Tamas Berghammer via lldb-commits
This revision was automatically updated to reflect the committed changes. tberghammer marked 2 inline comments as done. Closed by commit rL248910: Make the ArmUnwindInfo parsing code endian independent (authored by tberghammer). Changed prior to commit: http://reviews.llvm.org/D13291?vs=36103&i

Re: [Lldb-commits] [PATCH] D13291: Make the ArmUnwindInfo parsing code endian independent

2015-09-30 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, after fixing some typos. Comment at: include/lldb/Symbol/ArmUnwindInfo.h:55 @@ -46,1 +54,3 @@ + +const ObjectFile& m_objfile; lldb::SectionSP m_arm_exidx_

[Lldb-commits] [lldb] r248909 - Removed an unused member variable. Affects Windows only.

2015-09-30 Thread Adrian McCarthy via lldb-commits
Author: amccarth Date: Wed Sep 30 09:57:21 2015 New Revision: 248909 URL: http://llvm.org/viewvc/llvm-project?rev=248909&view=rev Log: Removed an unused member variable. Affects Windows only. Modified: lldb/trunk/source/Plugins/Process/Windows/Live/TargetThreadWindows.h Modified: lldb/trunk

[Lldb-commits] [lldb] r248908 - Fix xcode build after rL248903

2015-09-30 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Wed Sep 30 09:55:08 2015 New Revision: 248908 URL: http://llvm.org/viewvc/llvm-project?rev=248908&view=rev Log: Fix xcode build after rL248903 Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj URL: http://llvm.o

[Lldb-commits] [PATCH] D13291: Make the ArmUnwindInfo parsing code endian independent

2015-09-30 Thread Tamas Berghammer via lldb-commits
tberghammer created this revision. tberghammer added a reviewer: labath. tberghammer added a subscriber: lldb-commits. Herald added subscribers: rengolin, aemerson. Make the ArmUnwindInfo parsing code endian independent http://reviews.llvm.org/D13291 Files: include/lldb/Symbol/ArmUnwindInfo.h

Re: [Lldb-commits] [PATCH] D13245: Add support for .ARM.exidx unwind information

2015-09-30 Thread Tamas Berghammer via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL248903: Add support for .ARM.exidx unwind information (authored by tberghammer). Changed prior to commit: http://reviews.llvm.org/D13245?vs=35970&id=36101#toc Repository: rL LLVM http://reviews.llvm

[Lldb-commits] [lldb] r248903 - Add support for .ARM.exidx unwind information

2015-09-30 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Wed Sep 30 08:50:14 2015 New Revision: 248903 URL: http://llvm.org/viewvc/llvm-project?rev=248903&view=rev Log: Add support for .ARM.exidx unwind information .ARM.exidx/.ARM.extab sections contain unwind information used on ARM architecture from unwinding from an excepti

Re: [Lldb-commits] [PATCH] D13245: Add support for .ARM.exidx unwind information

2015-09-30 Thread Tamas Berghammer via lldb-commits
tberghammer marked an inline comment as done. Comment at: source/Symbol/ArmUnwindInfo.cpp:62 @@ +61,3 @@ +static uint64_t +GetULEB128(const uint32_t* data, uint16_t& offset, uint16_t max_offset) +{ labath wrote: > Is there a reason DataExtractor::GetULEB128 could

Re: [Lldb-commits] [PATCH] D13288: Restrict the scope of a hack in DYLDRendezvous

2015-09-30 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 Comment at: source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp:421 @@ +420,3 @@ +uint32_t os_major = 0, os_minor = 0, os_update = 0; +if (arch.GetTr

[Lldb-commits] [lldb] r248901 - XFAIL 2 test in TestTargetCommands on android-aarch64

2015-09-30 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Wed Sep 30 08:42:06 2015 New Revision: 248901 URL: http://llvm.org/viewvc/llvm-project?rev=248901&view=rev Log: XFAIL 2 test in TestTargetCommands on android-aarch64 The 2 test just get enabled with the recemt test system refactor. Modified: lldb/trunk/test/function

[Lldb-commits] [PATCH] D13288: Restrict the scope of a hack in DYLDRendezvous

2015-09-30 Thread Tamas Berghammer via lldb-commits
tberghammer created this revision. tberghammer added a reviewer: labath. tberghammer added a subscriber: lldb-commits. Herald added subscribers: srhines, danalbert, tberghammer. Restrict the scope of a hack in DYLDRendezvous The hack is there to work around an incorrect load address reported by t

[Lldb-commits] [lldb] r248889 - Fix TestAttachDenied on linux

2015-09-30 Thread Pavel Labath via lldb-commits
Author: labath Date: Wed Sep 30 05:59:39 2015 New Revision: 248889 URL: http://llvm.org/viewvc/llvm-project?rev=248889&view=rev Log: Fix TestAttachDenied on linux This test was timing out because the test inferior was forking a child, which was not terminated correctly. The test contained provis

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

2015-09-30 Thread Bhushan Attarde via lldb-commits
bhushan closed this revision. bhushan added a comment. Closed by commit http://reviews.llvm.org/rL246015 Repository: rL LLVM http://reviews.llvm.org/D12184 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/ma

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

Re: [Lldb-commits] [PATCH] D13268: Simple readline functionality for interactive python on linux.

2015-09-30 Thread Pavel Labath via lldb-commits
labath added a subscriber: labath. Comment at: scripts/Python/modules/readline/readline.cpp:17 @@ -15,3 +16,3 @@ moduleDocumentation, "Stub module meant to effectively disable readline support."); Given the code you are adding, this comment seems out o

Re: [Lldb-commits] [PATCH] D13234: Use the correct Python lib for each build configuration generated by the Visual Studio CMake generator

2015-09-30 Thread Vadim Macagon via lldb-commits
enlight updated this revision to Diff 36072. enlight added a comment. This revision is now accepted and ready to land. Added an explanation of the generator expression used in this patch. Repository: rL LLVM http://reviews.llvm.org/D13234 Files: cmake/modules/LLDBConfig.cmake Index: cmake