[Lldb-commits] [lldb] r232946 - Fix ObjCDataFormatterTestCase.test_nsdate_* tests

2015-03-23 Thread Ilia K
Author: ki.stfu Date: Mon Mar 23 07:44:54 2015 New Revision: 232946 URL: http://llvm.org/viewvc/llvm-project?rev=232946view=rev Log: Fix ObjCDataFormatterTestCase.test_nsdate_* tests The time/date strings (like 6pm April 10, 1985) are interpreted as a local time but CFDateGetAbsoluteTime()

Re: [Lldb-commits] [PATCH] Fix Target::Launch in case of synchronous execution

2015-03-23 Thread Pavel Labath
Hi, what is the exact case this patch is trying to fix? Could you give steps to reproduce? Or even better, a test case? cheers, pl http://reviews.llvm.org/D8541 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ ___

Re: [Lldb-commits] [PATCH] Fix expression evaluation after clang r232793

2015-03-23 Thread Pavel Labath
abandoning as this is fixed already http://reviews.llvm.org/D8482 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ ___ lldb-commits mailing list lldb-commits@cs.uiuc.edu

Re: [Lldb-commits] [PATCH] Fix Target::Launch in case of synchronous execution

2015-03-23 Thread Ilia K
In http://reviews.llvm.org/D8541#145060, @labath wrote: Hi, what is the exact case this patch is trying to fix? Could you give steps to reproduce? Or even better, a test case? cheers, pl Sure. See it in TEST PLAN section. http://reviews.llvm.org/D8541 EMAIL PREFERENCES

[Lldb-commits] [PATCH] Fix Target::Launch in case of synchronous execution

2015-03-23 Thread Ilia K
Hi jingham, clayborg, This patch fixes Target::Launch in case of synchronous execution. http://reviews.llvm.org/D8541 Files: source/Target/Target.cpp Index: source/Target/Target.cpp === --- source/Target/Target.cpp +++

Re: [Lldb-commits] [PATCH] AArch64 LLDB Support for aarch64-linux-gnu abi support (SysV)

2015-03-23 Thread Ed Maste
Could you upload the diffs with full context please? (i.e., `git diff -U99` or `svn diff --diff-cmd=diff -x -U99`) http://reviews.llvm.org/D8538 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ ___ lldb-commits

Re: [Lldb-commits] [PATCH] Fix Target::Launch in case of synchronous execution

2015-03-23 Thread Pavel Labath
wow, that's quite a test plan. :) Sorry about that, I didn't see anything in the email, and I did not know that phab does not send out the test plans O:) pl http://reviews.llvm.org/D8541 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/

[Lldb-commits] [PATCH] AArch64 LLDB Support for aarch64-linux-gnu abi support (SysV)

2015-03-23 Thread Muhammad Omair Javaid
Hi rengolin, vharron, tberghammer, This patch adds support aarch64-linux-gnu (SysV) abi in lldb. Code is similar to what has been implemented for MacOS and I have gone through abi specification this code will work without any changes though I have not seen any improvements in lldb-server

[Lldb-commits] [PATCH] LLDB ARM: Add support for arm-linux-gnu abi

2015-03-23 Thread Muhammad Omair Javaid
Hi rengolin, vharron, tberghammer, This patch is first in a series of upcoming patches that add support for arm-linux-lldb. This patch will be usable once once support for Register Context will be added later this week. http://reviews.llvm.org/D8539 Files: cmake/LLDBDependencies.cmake

Re: [Lldb-commits] [PATCH] Turn off 'quit' confirmation in lldb-mi

2015-03-23 Thread Ilia K
In http://reviews.llvm.org/D8444#145131, @abidh wrote: MI part looks ok to me. Please wait for Greg to approve the rest. Thanks for review! @clayborg, take a look please. http://reviews.llvm.org/D8444 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/

[Lldb-commits] [lldb] r232951 - Fix ObjCDataFormatterTestCase.test_nsdate_* tests (ver. 2)

2015-03-23 Thread Ilia K
Author: ki.stfu Date: Mon Mar 23 09:22:27 2015 New Revision: 232951 URL: http://llvm.org/viewvc/llvm-project?rev=232951view=rev Log: Fix ObjCDataFormatterTestCase.test_nsdate_* tests (ver. 2) This commit reverts r232946 because it caused an another error with absolute time. Modified:

Re: [Lldb-commits] [PATCH] LLDB ARM: Add support for arm-linux-gnu abi

2015-03-23 Thread Tamas Berghammer
Looks good with a few minor suggestions Comment at: source/Plugins/ABI/SysV-arm/ABISysV_arm.cpp:224 @@ +223,3 @@ +reg_value.SetUInt32(*ai); +if (!reg_ctx-WriteRegister(reg_ctx-GetRegisterInfoByName(reg_names[i]), reg_value)) +return false;

Re: [Lldb-commits] [PATCH] AArch64 LLDB Support for aarch64-linux-gnu abi support (SysV)

2015-03-23 Thread Ed Maste
The comment says 'aarch64-linux-gnu' ABI support -- this should be AArch64 ABI or AArch64 SysV ABI, no? You need to handle aarch64 in the other case in `CreateRegisterContextForFrame` as well. Comment at: source/Plugins/Process/elf-core/ThreadElfCore.cpp:129-131 @@ -127,2

Re: [Lldb-commits] [PATCH] Fix Target::Launch in case of synchronous execution

2015-03-23 Thread Ilia K
In http://reviews.llvm.org/D8541#145077, @labath wrote: Sorry about that, I didn't see anything in the email, and I did not know that phab does not send out the test plans O:) It's a surprise for me too :) http://reviews.llvm.org/D8541 EMAIL PREFERENCES

Re: [Lldb-commits] [PATCH] AArch64 LLDB Support for aarch64-linux-gnu abi support (SysV)

2015-03-23 Thread Tamas Berghammer
I added a few inline comments but overall it looks good. I think you haven't seen any improvement in the test results because this class isn't used by any of the tests (not sure who else use this class except ThreadElfCore). P.S.: Next time please upload the diff with full context to make it

[Lldb-commits] [lldb] r232950 - Convert CRLF to LF in CODE_OWNERS.txt

2015-03-23 Thread Ilia K
Author: ki.stfu Date: Mon Mar 23 09:00:54 2015 New Revision: 232950 URL: http://llvm.org/viewvc/llvm-project?rev=232950view=rev Log: Convert CRLF to LF in CODE_OWNERS.txt Modified: lldb/trunk/CODE_OWNERS.txt Modified: lldb/trunk/CODE_OWNERS.txt URL:

[Lldb-commits] [PATCH] Fetch module specification from remote process also

2015-03-23 Thread Tamas Berghammer
Hi ovyalov, clayborg, Fetch module specification from remote process also Previously the remote module specification was fetched only from the remote platform. With this CL if we have a remote process then we ask it if it have any information from a given module. It is required because on

[Lldb-commits] [lldb] r232952 - Remove virtual and add override to all virtual functions in Process/gdb-remote.

2015-03-23 Thread Tamas Berghammer
Author: tberghammer Date: Mon Mar 23 10:50:03 2015 New Revision: 232952 URL: http://llvm.org/viewvc/llvm-project?rev=232952view=rev Log: Remove virtual and add override to all virtual functions in Process/gdb-remote. Modified:

[Lldb-commits] [lldb] r233017 - Fix/Add comments in CMICmdCmdGdbSet (MI)

2015-03-23 Thread Ilia K
Author: ki.stfu Date: Mon Mar 23 15:46:10 2015 New Revision: 233017 URL: http://llvm.org/viewvc/llvm-project?rev=233017view=rev Log: Fix/Add comments in CMICmdCmdGdbSet (MI) Modified: lldb/trunk/tools/lldb-mi/MICmdCmdGdbSet.cpp lldb/trunk/tools/lldb-mi/MICmdCmdGdbSet.h Modified:

Re: [Lldb-commits] [Diffusion] rL233021: Move ADB communications to AdbClient class - to make it accessible by other…

2015-03-23 Thread Ilia K
It added a new warning. /lldb/trunk/source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.cpp:41 ``` [4/13] Building CXX object tools/lldb/source/Plugins/Platform/Android/C...iles/lldbPluginPlatformAndroid.dir/PlatformAndroidRemoteGDBServer.cpp.o

Re: [Lldb-commits] [PATCH] Initialize ObjC runtime at the right location.

2015-03-23 Thread Zachary Turner
Why are we putting logic for a specific language runtime in generic code? This doesn't seem right to me. On Mon, Mar 23, 2015 at 11:38 AM Greg Clayton clayb...@gmail.com wrote: lgtm http://reviews.llvm.org/D8558 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/

Re: [Lldb-commits] [PATCH] Initialize ObjC runtime at the right location.

2015-03-23 Thread jingham
I agree with Zachary. That wasn't what the FIXME was about, and moving more runtime specific code into target is not what is desired. This should go into the Runtime, and get called by the dynamic loader. I don't think this change is a change in the right direction. Jim On Mar 23, 2015,

Re: [Lldb-commits] [PATCH] Add a missing null pointer check in CommandObjectThread.cpp.

2015-03-23 Thread Jim Ingham
How do you get a thread that has NO frame 0? That seems weird, we always have a register context to make frame 0... Anyway, if you're going to do this, add it to the thread == NULL checks earlier on in the function so we can get out of the command with an appropriate error message. If we

Re: [Lldb-commits] [PATCH] Add a missing null pointer check in CommandObjectThread.cpp.

2015-03-23 Thread Stephane Sezer
This is a patch that I've been keeping in my branches for a while. I hit a null pointer dereference there. Looks like Ed had the same issue. I'll move the check to the beginning of the function as you suggested though. On Mon, Mar 23, 2015 at 12:01 PM, Jim Ingham jing...@apple.com wrote: How do

Re: [Lldb-commits] [PATCH] Add a missing null pointer check in CommandObjectThread.cpp.

2015-03-23 Thread Ed Maste
I encountered an issue like this early on while bringing up a new target (FreeBSD/mips64 I think), while the work was incomplete. Of course once I finished we always have frame 0, which is why I didn't commit it at the time. But it (or, perhaps just an assert) presumably will be handy when

[Lldb-commits] [PATCH] Fix resolution of certain recursive types.

2015-03-23 Thread Stephane Sezer
Hi clayborg, If a struct type S has a member T that has a member that is a function that returns a typedef of S* the respective field would be duplicated, which caused an assert down the line in RecordLayoutBuilder. This patch adds a check that removes the possibility of trying to resolve the

Re: [Lldb-commits] [PATCH] Fix resolution of certain recursive types.

2015-03-23 Thread Stephane Sezer
I'd like to add some unit tests for this patch but I don't know how to create one that has two separate source files (which is required to repro this bug). Does the unit test framework support that? http://reviews.llvm.org/D8561 EMAIL PREFERENCES

Re: [Lldb-commits] [PATCH] Add a missing null pointer check in CommandObjectThread.cpp.

2015-03-23 Thread jingham
How do you get a thread that has NO frame 0? That seems weird, we always have a register context to make frame 0... Anyway, if you're going to do this, add it to the thread == NULL checks earlier on in the function so we can get out of the command with an appropriate error message. If we

Re: [Lldb-commits] [PATCH] Handle PyLong return values in LLDBSwigPython_CalculateNumChildren.

2015-03-23 Thread Vince Harron
Comment at: test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/Makefile:12 @@ +11,3 @@ +ifneq (,$(findstring clang,$(CC))) + CFLAGS_EXTRAS += -fstandalone-debug +endif I think you'll need to replace this with the equivalent

Re: [Lldb-commits] [PATCH] Handle PyLong return values in LLDBSwigPython_CalculateNumChildren.

2015-03-23 Thread Vince Harron
Comment at: test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/Makefile:9 @@ +8,3 @@ +# clang-3.5+ outputs FullDebugInfo by default for Darwin/FreeBSD +# # targets. Other targets do not, which causes this test to fail. +# # This flag enables FullDebugInfo

Re: [Lldb-commits] [PATCH] Fetch module specification from remote process also

2015-03-23 Thread Greg Clayton
Its mainly an efficiency thing. If you have a std::string you might need to allocate data on the heap to store the string just to make the call. Since this argument is a path, it is more likely to have to allocate on the heap. Most std::string implementations store the first 20 some bytes in

Re: [Lldb-commits] [PATCH] Fix resolution of certain recursive types.

2015-03-23 Thread Greg Clayton
See inline comments. You can easily make a test case with two files, there are many that do it. Comment at: source/Symbol/ClangASTImporter.cpp:289-296 @@ -288,2 +288,10 @@ { -return CompleteTagDecl(tag_type-getDecl()); +auto tag_decl = tag_type-getDecl(); +

[Lldb-commits] [lldb] r233021 - Move ADB communications to AdbClient class - to make it accessible by other components.

2015-03-23 Thread Oleksiy Vyalov
Author: ovyalov Date: Mon Mar 23 16:03:02 2015 New Revision: 233021 URL: http://llvm.org/viewvc/llvm-project?rev=233021view=rev Log: Move ADB communications to AdbClient class - to make it accessible by other components. http://reviews.llvm.org/D8535 Added:

[Lldb-commits] [PATCH] Add -gdb-show and target-async option in -gdb-show command (MI)

2015-03-23 Thread Ilia K
Hi abidh, clayborg, This path adds -gdb-show command with 1 option: target-async. Also it adds tests for -gdb-set and -gdb-show commands. All tests pass on OS X. http://reviews.llvm.org/D8566 Files: test/tools/lldb-mi/TestMiGdbSetShow.py tools/lldb-mi/CMakeLists.txt

[Lldb-commits] [lldb] r233022 - Fix Target::Launch in case of synchronous execution

2015-03-23 Thread Ilia K
Author: ki.stfu Date: Mon Mar 23 16:16:25 2015 New Revision: 233022 URL: http://llvm.org/viewvc/llvm-project?rev=233022view=rev Log: Fix Target::Launch in case of synchronous execution Summary: This patch fixes Target::Launch in case of synchronous execution. Test Plan: # Create file with

Re: [Lldb-commits] [PATCH] Turn off 'quit' confirmation in lldb-mi

2015-03-23 Thread Greg Clayton
No, don't change any existing API. Unfortunately by the time we caught this one, it was out in the wild and we had programs linking against it. Just make sure to not add const to any new API. http://reviews.llvm.org/D8444 EMAIL PREFERENCES

[Lldb-commits] [lldb] r233018 - Add target-async option in -gdb-set command (MI)

2015-03-23 Thread Ilia K
Author: ki.stfu Date: Mon Mar 23 15:49:51 2015 New Revision: 233018 URL: http://llvm.org/viewvc/llvm-project?rev=233018view=rev Log: Add target-async option in -gdb-set command (MI) Modified: lldb/trunk/tools/lldb-mi/MICmdCmdGdbSet.cpp lldb/trunk/tools/lldb-mi/MICmdCmdGdbSet.h

Re: [Lldb-commits] [PATCH] Turn off 'quit' confirmation in lldb-mi

2015-03-23 Thread Ilia K
In http://reviews.llvm.org/D8444#145654, @clayborg wrote: No, don't change any existing API. Unfortunately by the time we caught this one, it was out in the wild and we had programs linking against it. Just make sure to not add const to any new API. ok. http://reviews.llvm.org/D8444

Re: [Lldb-commits] [PATCH] Turn off 'quit' confirmation in lldb-mi

2015-03-23 Thread Ilia K
Comment at: include/lldb/API/SBCommandInterpreter.h:27-67 @@ -26,43 +26,43 @@ bool GetStopOnContinue () const; void SetStopOnContinue (bool); bool GetStopOnError () const; void SetStopOnError (bool); bool GetStopOnCrash

Re: [Lldb-commits] [PATCH] Search for loaded modules recursively in all system library sub-directories on Android

2015-03-23 Thread Tamas Berghammer
Please abandon it as http://reviews.llvm.org/D8547 will fix this issue http://reviews.llvm.org/D8338 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ ___ lldb-commits mailing list lldb-commits@cs.uiuc.edu

Re: [Lldb-commits] [PATCH] Fix resolution of certain recursive types.

2015-03-23 Thread Sean Callanan
Stéphane, please add me as a reviewer for this patch. I have an account, spyffe. Sean On Mar 23, 2015, at 12:48 PM, Stephane Sezer s...@cd80.net wrote: I'd like to add some unit tests for this patch but I don't know how to create one that has two separate source files (which is required

Re: [Lldb-commits] [PATCH] Fix resolution of certain recursive types.

2015-03-23 Thread Sean Callanan
Stéphane, please add me as a reviewer for this patch. I have an account, spyffe. Sean http://reviews.llvm.org/D8561 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ ___ lldb-commits mailing list

Re: [Lldb-commits] [PATCH] Turn off 'quit' confirmation in lldb-mi

2015-03-23 Thread Ilia K
Add GetPromptOnQuit/SetPromptOnQuit to SBCommandInterpreter.i http://reviews.llvm.org/D8444 Files: include/lldb/API/SBCommandInterpreter.h include/lldb/Interpreter/CommandInterpreter.h scripts/Python/interface/SBCommandInterpreter.i source/API/SBCommandInterpreter.cpp

[Lldb-commits] [lldb] r233029 - Fix missing interfaces to scripts/Python/interface after r229110, r231858 and r232891

2015-03-23 Thread Ilia K
Author: ki.stfu Date: Mon Mar 23 16:50:21 2015 New Revision: 233029 URL: http://llvm.org/viewvc/llvm-project?rev=233029view=rev Log: Fix missing interfaces to scripts/Python/interface after r229110, r231858 and r232891 This includes: # SBCommandInterpreter::EventIsCommandInterpreterEvent #

Re: [Lldb-commits] [PATCH] Turn off 'quit' confirmation in lldb-mi

2015-03-23 Thread Ilia K
Comment at: include/lldb/API/SBCommandInterpreter.h:223 @@ +222,3 @@ +bool +GetPromptOnQuit() const; + clayborg wrote: You can actually take the const off of this as it does nothing when your only member is an std::shared_ptr, std::auto_ptr or just a

Re: [Lldb-commits] [PATCH] Turn off 'quit' confirmation in lldb-mi

2015-03-23 Thread Greg Clayton
Remove const as per inline comments. Comment at: include/lldb/API/SBCommandInterpreter.h:223 @@ +222,3 @@ +bool +GetPromptOnQuit() const; + You can actually take the const off of this as it does nothing when your only member is an std::shared_ptr,

Re: [Lldb-commits] [PATCH] Turn off 'quit' confirmation in lldb-mi

2015-03-23 Thread Ilia K
@clayborg, take a look again please. Comment at: include/lldb/API/SBCommandInterpreter.h:219-223 @@ -218,1 +218,7 @@ +bool +GetPromptOnQuit() const; + +void +SetPromptOnQuit(bool b); + clayborg wrote: You also need to add these to the

Re: [Lldb-commits] [PATCH] Fix Target::Launch in case of synchronous execution

2015-03-23 Thread Greg Clayton
Looks good. http://reviews.llvm.org/D8541 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ ___ lldb-commits mailing list lldb-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] Turn off 'quit' confirmation in lldb-mi

2015-03-23 Thread Greg Clayton
Add the new API to the .i files as mentioned in the inline comments. Comment at: include/lldb/API/SBCommandInterpreter.h:219-223 @@ -218,1 +218,7 @@ +bool +GetPromptOnQuit() const; + +void +SetPromptOnQuit(bool b); + You also need to add these

[Lldb-commits] [lldb] r232966 - Do not assert on POSIXDYLD double-eAdd.

2015-03-23 Thread Stephane Sezer
Author: sas Date: Mon Mar 23 12:05:41 2015 New Revision: 232966 URL: http://llvm.org/viewvc/llvm-project?rev=232966view=rev Log: Do not assert on POSIXDYLD double-eAdd. Summary: This has been discovered while experimenting with the gecko linker on android. In general, assert()'ing on user input

Re: [Lldb-commits] [PATCH] Do not assert on POSIXDYLD double-eAdd.

2015-03-23 Thread Stephane Sezer
REPOSITORY rL LLVM http://reviews.llvm.org/D8495 Files: lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp Index: lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp === ---

[Lldb-commits] [PATCH] Add a missing null pointer check in CommandObjectThread.cpp.

2015-03-23 Thread Stephane Sezer
Hi clayborg, http://reviews.llvm.org/D8554 Files: source/Commands/CommandObjectThread.cpp Index: source/Commands/CommandObjectThread.cpp === --- source/Commands/CommandObjectThread.cpp +++ source/Commands/CommandObjectThread.cpp

Re: [Lldb-commits] [PATCH] Fix expression evaluation after clang r232793

2015-03-23 Thread Greg Clayton
We really do not want this change. This means anytime we play with a class it will complete it right away, regardless of needing a full definition or not. This fix should be done in clang so that clang naturally knows how to say I need a full definition and I need to know to complete a class

Re: [Lldb-commits] [PATCH] Add a missing null pointer check in CommandObjectThread.cpp.

2015-03-23 Thread Ed Maste
LGTM, I think I had this same change in a local branch at one point. http://reviews.llvm.org/D8554 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ ___ lldb-commits mailing list lldb-commits@cs.uiuc.edu

[Lldb-commits] [PATCH] Don't clobber CFLAGS_EXTRAS in tests.

2015-03-23 Thread Robert Flack
Hi clayborg, To run tests against a different target platform many extra compiler flags are needed to specify sysroot, include dirs, etc. The environment variable CFLAGS_EXTRAS seems suited for this purpose except that several Makefiles clobber the current flags. This change modifies all of

Re: [Lldb-commits] [PATCH] Fetch module specification from remote process also

2015-03-23 Thread Greg Clayton
Fix the std::string arguments as noted in inline comments and this is good to go. Comment at: include/lldb/Host/common/NativeProcessProtocol.h:291 @@ +290,3 @@ +virtual lldb_private::FileSpec +GetLoadedModuleFileSpec(const std::string module_path) = 0; +

[Lldb-commits] [PATCH] Initialize ObjC runtime at the right location.

2015-03-23 Thread Stephane Sezer
Hi clayborg, Saw this while reading some code in DynamicLoader classes. Looks like this has been a FIXME since 2011 at least. http://reviews.llvm.org/D8558 Files: source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp source/Target/Target.cpp Index:

Re: [Lldb-commits] [PATCH] Add a missing null pointer check in CommandObjectThread.cpp.

2015-03-23 Thread Stephane Sezer
REPOSITORY rL LLVM http://reviews.llvm.org/D8554 Files: lldb/trunk/source/Commands/CommandObjectThread.cpp Index: lldb/trunk/source/Commands/CommandObjectThread.cpp === --- lldb/trunk/source/Commands/CommandObjectThread.cpp +++

Re: [Lldb-commits] [PATCH] Move ADB communications to AdbClient class - to make it accessible by other components.

2015-03-23 Thread Oleksiy Vyalov
Comment at: source/Plugins/Platform/Android/AdbClient.cpp:71-75 @@ +70,7 @@ +response.split (devices, \n); +if (devices.empty ()) +{ +error.SetErrorString (Wrong number of devices returned from ADB); +return error; +} + tberghammer

[Lldb-commits] [lldb] r232983 - Initialize ObjC runtime at the right location.

2015-03-23 Thread Stephane Sezer
Author: sas Date: Mon Mar 23 13:36:54 2015 New Revision: 232983 URL: http://llvm.org/viewvc/llvm-project?rev=232983view=rev Log: Initialize ObjC runtime at the right location. Summary: Saw this while reading some code in DynamicLoader classes. Looks like this has been a FIXME since 2011 at

[Lldb-commits] [lldb] r232969 - Fix whitespace in finishSwigWrapperClasses.py

2015-03-23 Thread Ed Maste
Author: emaste Date: Mon Mar 23 12:52:10 2015 New Revision: 232969 URL: http://llvm.org/viewvc/llvm-project?rev=232969view=rev Log: Fix whitespace in finishSwigWrapperClasses.py - replace hard tabs with 4-space indents - delete EOL whitespace Modified:

[Lldb-commits] [lldb] r232970 - Use .so library extension by default if platform is not Windows or Darwin

2015-03-23 Thread Ed Maste
Author: emaste Date: Mon Mar 23 12:52:38 2015 New Revision: 232970 URL: http://llvm.org/viewvc/llvm-project?rev=232970view=rev Log: Use .so library extension by default if platform is not Windows or Darwin Modified: lldb/trunk/scripts/Python/finishSwigPythonLLDB.py Modified:

[Lldb-commits] [lldb] r232973 - Remove non-standard Environment header section

2015-03-23 Thread Ed Maste
Author: emaste Date: Mon Mar 23 12:57:42 2015 New Revision: 232973 URL: http://llvm.org/viewvc/llvm-project?rev=232973view=rev Log: Remove non-standard Environment header section Modified: lldb/trunk/scripts/Python/buildSwigPython.py lldb/trunk/scripts/Python/finishSwigPythonLLDB.py

[Lldb-commits] [lldb] r232974 - Rely on Makefile.rules in lldb/test/driver/batch_mode.

2015-03-23 Thread Zachary Turner
Author: zturner Date: Mon Mar 23 13:00:07 2015 New Revision: 232974 URL: http://llvm.org/viewvc/llvm-project?rev=232974view=rev Log: Rely on Makefile.rules in lldb/test/driver/batch_mode. This was hardcoding some make rules instead of relying on Makefile.rules, which was causing some of the

Re: [Lldb-commits] [PATCH] Rely on Makefile.rules to clean up the lldb\test\driver\batch_mode directory.

2015-03-23 Thread Zachary Turner
lgtm http://reviews.llvm.org/D8363 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ ___ lldb-commits mailing list lldb-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] Don't clobber CFLAGS_EXTRAS in tests.

2015-03-23 Thread Greg Clayton
lgtm REPOSITORY rL LLVM http://reviews.llvm.org/D8559 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ ___ lldb-commits mailing list lldb-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] Initialize ObjC runtime at the right location.

2015-03-23 Thread Greg Clayton
lgtm http://reviews.llvm.org/D8558 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ ___ lldb-commits mailing list lldb-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] r232979 - Add a missing null pointer check in CommandObjectThread.cpp.

2015-03-23 Thread Stephane Sezer
Author: sas Date: Mon Mar 23 13:15:07 2015 New Revision: 232979 URL: http://llvm.org/viewvc/llvm-project?rev=232979view=rev Log: Add a missing null pointer check in CommandObjectThread.cpp. Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D8554

Re: [Lldb-commits] [PATCH] Move ADB communications to AdbClient class - to make it accessible by other components.

2015-03-23 Thread Oleksiy Vyalov
Fixed accordingly to suggestions. Please take another look. Thank you. http://reviews.llvm.org/D8535 Files: source/Plugins/Platform/Android/AdbClient.cpp source/Plugins/Platform/Android/AdbClient.h source/Plugins/Platform/Android/CMakeLists.txt

Re: [Lldb-commits] [PATCH] Initialize ObjC runtime at the right location.

2015-03-23 Thread Stephane Sezer
REPOSITORY rL LLVM http://reviews.llvm.org/D8558 Files: lldb/trunk/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp lldb/trunk/source/Target/Target.cpp Index: lldb/trunk/source/Target/Target.cpp === ---

Re: [Lldb-commits] [PATCH] Allow multiple simultaneous connections to platform.

2015-03-23 Thread Greg Clayton
I don't see how this does multiple connections? Seems like the do/while loop would need to be in a thread? REPOSITORY rL LLVM http://reviews.llvm.org/D8452 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ ___

Re: [Lldb-commits] [PATCH] Fix race condition in Target::Launch

2015-03-23 Thread Ilia K
Comment at: source/Target/Target.cpp:2605-2606 @@ -2604,4 +2610,1 @@ { -if (!synchronous_execution) -m_process_sp-RestoreProcessEvents (); - Can we use a mixed code (for sync and async execution) to

Re: [Lldb-commits] [PATCH] Remove now unneccessary expected failure decorators for Linux.

2015-03-23 Thread Vince Harron
What's the status on this CL? http://reviews.llvm.org/D6910 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ ___ lldb-commits mailing list lldb-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] Turn off 'quit' confirmation in lldb-mi

2015-03-23 Thread Greg Clayton
Looks good. http://reviews.llvm.org/D8444 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ ___ lldb-commits mailing list lldb-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] r233034 - Turn off 'quit' confirmation in lldb-mi

2015-03-23 Thread Ilia K
Author: ki.stfu Date: Mon Mar 23 17:45:13 2015 New Revision: 233034 URL: http://llvm.org/viewvc/llvm-project?rev=233034view=rev Log: Turn off 'quit' confirmation in lldb-mi Summary: # Turn off interpreter.prompt-on-quit on startup (MI) # Add CommandInterpreter::SetPromptOnQuit # Add

[Lldb-commits] [PATCH] [DWARF] If linkages names are missing, use decl context to get qualified names.

2015-03-23 Thread Siva Chandra
Hi clayborg, This commit adds this alternate route only when parsing variable dies corresponding to global or static variables. The motivation for this is that GCC does not emit linkage names for functions and variables declared/defined in anonymous namespaces. Having this alternate route fixes

Re: [Lldb-commits] [PATCH] [DWARF] If linkages names are missing, use decl context to get qualified names.

2015-03-23 Thread Greg Clayton
Just fix the language compare so we aren't looking for a string c++ and use the enum and this should be good. Comment at: source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:7407 @@ +7406,3 @@ +{ +std::string

Re: [Lldb-commits] [PATCH] ComputeSupportExeDirectory for Linux

2015-03-23 Thread Oleksiy Vyalov
Comment at: source/Host/linux/HostInfoLinux.cpp:225 @@ -224,3 +224,3 @@ bool -HostInfoLinux::ComputeSharedLibraryDirectory(FileSpec file_spec) { Do we need to keep this method around since HostInfoPosix::ComputeSupportExeDirectory uses

Re: [Lldb-commits] [Diffusion] rL233021: Move ADB communications to AdbClient class - to make it accessible by other…

2015-03-23 Thread Oleksiy Vyalov
Should be fixed in http://reviews.llvm.org/rL233041 USERS ovyalov (Author) ki.stfu (Auditor) http://reviews.llvm.org/rL233021 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ ___ lldb-commits mailing list

Re: [Lldb-commits] [PATCH] Allow multiple simultaneous connections to platform.

2015-03-23 Thread Greg Clayton
Do we want the have one thread that listens for incoming connections, and once a connection is made, make a new GDBRemoteCommunicationServerPlatform shared pointer and launch a new thread that would communicate over the newly bound port? Then we could have multiple connections to the same

Re: [Lldb-commits] [PATCH] Fix race condition in Target::Launch

2015-03-23 Thread Ilia K
Comment at: source/Target/Target.cpp:2605-2606 @@ -2604,4 +2610,1 @@ { -if (!synchronous_execution) -m_process_sp-RestoreProcessEvents (); - zturner wrote: ki.stfu wrote: Can we use a mixed code (for

Re: [Lldb-commits] [PATCH] Allow multiple simultaneous connections to platform.

2015-03-23 Thread Vince Harron
Hi Greg, What do you think about this? supporting multiple connections to lldb-platform will allow us to trivially run the test suite in parallel which is going to be incredibly important to us testing against 6 remote Linux architectures and 6 remote Android architectures. F436486: archs.png

Re: [Lldb-commits] [PATCH] Add a missing null pointer check in CommandObjectThread.cpp.

2015-03-23 Thread Jason Molenda
Not worth changing the patch but fwiw you could have added eFlagRequiresFrame to the CommandObjectParsed flags for this command to do the same thing. My main reaction echoes Jim's - I don't know what it means to have a thread and no frame 0. But given that two lldb devs have hit it, I guess

Re: [Lldb-commits] [PATCH] Add a missing null pointer check in CommandObjectThread.cpp.

2015-03-23 Thread Jim Ingham
Yes, I think there are a lot of places around in lldb where we assume that if you have a valid thread you have a valid frame 0. You're not going to get very far if you don't get that right. Jim REPOSITORY rL LLVM http://reviews.llvm.org/D8554 EMAIL PREFERENCES

Re: [Lldb-commits] [PATCH] Use eFlagRequiresFrame instead of manually checking in CommandObjectThread.cpp.

2015-03-23 Thread Jason Molenda
Good change as long as it accomplishes the same thing as your null check against GetStackFrameAtIndex(0). eFlagRequiresFrame is slightly different, checking that the ExecutionContext got a frame but I suppose the ECX got it from the same place -- GetStackFrameAtIndex(0) so it should be fine.

Re: [Lldb-commits] [PATCH] ComputeSupportExeDirectory for Linux

2015-03-23 Thread Oleksiy Vyalov
lgtm http://reviews.llvm.org/D8570 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ ___ lldb-commits mailing list lldb-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits