[llvm-branch-commits] [lldb] r270064 - Revert "Re-commit "Make dwarf parsing multi-threaded""

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 09:23:06 2016 New Revision: 270064 URL: http://llvm.org/viewvc/llvm-project?rev=270064&view=rev Log: Revert "Re-commit "Make dwarf parsing multi-threaded"" This reverts commit efccda1e4033e51844374268cdf2a4a5dab79a96. Modified: lldb/branches/release_38/source

[llvm-branch-commits] [compiler-rt-branch] r270035 - Merging rL260946:

2016-05-19 Thread Mohit K. Bhakkad via llvm-branch-commits
Author: mohit.bhakkad Date: Thu May 19 05:17:04 2016 New Revision: 270035 URL: http://llvm.org/viewvc/llvm-project?rev=270035&view=rev Log: Merging rL260946: - [Compiler-rt][MSan][MIPS] Resolve gethostbyname_r_erange for MIPS Reviewe

[llvm-branch-commits] [lldb] r270065 - Checkout release_38 branches of llvm and clang when building lldb 3.8

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 09:31:00 2016 New Revision: 270065 URL: http://llvm.org/viewvc/llvm-project?rev=270065&view=rev Log: Checkout release_38 branches of llvm and clang when building lldb 3.8 Summary: This commit is intended only for the release_38 branch, not for master. Fixes xcode

[llvm-branch-commits] [lldb] r270066 - Fix FILE * leak in Python API

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 09:36:28 2016 New Revision: 270066 URL: http://llvm.org/viewvc/llvm-project?rev=270066&view=rev Log: Fix FILE * leak in Python API Summary: This fixes a leak introduced by some of these changes: r257644 r250530 r250525 The changes made in these patches result in

[llvm-branch-commits] [lldb] r270100 - Fixed a crasher when dealing with table entries that have blank names.

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 15:05:32 2016 New Revision: 270100 URL: http://llvm.org/viewvc/llvm-project?rev=270100&view=rev Log: Fixed a crasher when dealing with table entries that have blank names. This can happen with -gmodules tables when an anonymous struct is referred to. Modified:

[llvm-branch-commits] [lldb] r270116 - Make sure code that is in the middle of figuring out the correct architecture

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 15:41:14 2016 New Revision: 270116 URL: http://llvm.org/viewvc/llvm-project?rev=270116&view=rev Log: Make sure code that is in the middle of figuring out the correct architecture on attach uses the architecture it has figured out, rather than the Target's architect

[llvm-branch-commits] [lldb] r270132 - Use Process Plugin register indices when communicating with remote

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 16:03:40 2016 New Revision: 270132 URL: http://llvm.org/viewvc/llvm-project?rev=270132&view=rev Log: Use Process Plugin register indices when communicating with remote Summary: eRegisterKindProcessPlugin is used to store the register indices used by the remote, an

[llvm-branch-commits] [lldb] r270133 - Properly unload modules from target image list when using svr4 packets

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 16:04:16 2016 New Revision: 270133 URL: http://llvm.org/viewvc/llvm-project?rev=270133&view=rev Log: Properly unload modules from target image list when using svr4 packets Summary: When we receive an svr4 packet from the remote, we check for new modules and add th

[llvm-branch-commits] [lldb] r270131 - Store absolute path for lldb executable in dotest.py

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 16:02:55 2016 New Revision: 270131 URL: http://llvm.org/viewvc/llvm-project?rev=270131&view=rev Log: Store absolute path for lldb executable in dotest.py Summary: lldb-server tests are currently being skipped on the check-lldb target. This is because we get the pa

[llvm-branch-commits] [llvm-branch] r270146 - Merging r269676:

2016-05-19 Thread Michael Kuperstein via llvm-branch-commits
Author: mkuper Date: Thu May 19 17:07:45 2016 New Revision: 270146 URL: http://llvm.org/viewvc/llvm-project?rev=270146&view=rev Log: Merging r269676: r269676 | mkuper | 2016-05-16 11:27:00 -0700 (Mon, 16 May 2016) | 14 line

[llvm-branch-commits] [lldb] r270134 - Maintain register numbering across xml include features

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 16:05:57 2016 New Revision: 270134 URL: http://llvm.org/viewvc/llvm-project?rev=270134&view=rev Log: Maintain register numbering across xml include features Summary: If the remote uses include features when communicating xml register info back to lldb, the existin

[llvm-branch-commits] [lldb] r270127 - Print environment when dumping arch triple

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 16:00:01 2016 New Revision: 270127 URL: http://llvm.org/viewvc/llvm-project?rev=270127&view=rev Log: Print environment when dumping arch triple Summary: Print environment from triple if it exists. Reviewers: tfiala, clayborg Subscribers: lldb-commits, sas Diffe

[llvm-branch-commits] [lldb] r270122 - Fixed a bug where DW_AT_start_scope would fall through to DW_AT_artificial in SymbolFileDWARF::ParseVariableDIE(). This was caught by the clang warning that catc

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 15:50:21 2016 New Revision: 270122 URL: http://llvm.org/viewvc/llvm-project?rev=270122&view=rev Log: Fixed a bug where DW_AT_start_scope would fall through to DW_AT_artificial in SymbolFileDWARF::ParseVariableDIE(). This was caught by the clang warning that catch

[llvm-branch-commits] [lldb] r270140 - Use absolute module path when possible if sent in svr4 packets

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 16:11:37 2016 New Revision: 270140 URL: http://llvm.org/viewvc/llvm-project?rev=270140&view=rev Log: Use absolute module path when possible if sent in svr4 packets Summary: If the remote uses svr4 packets to communicate library info, the LoadUnload tests will fail

[llvm-branch-commits] [lldb] r270138 - Fixed the failing test TestCommandScriptImmediateOutput on MacOSX. Turns out that there are few things to watch out for when writing pexpect tests:

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 16:09:04 2016 New Revision: 270138 URL: http://llvm.org/viewvc/llvm-project?rev=270138&view=rev Log: Fixed the failing test TestCommandScriptImmediateOutput on MacOSX. Turns out that there are few things to watch out for when writing pexpect tests: 1 - If you pla

[llvm-branch-commits] [lldb] r270114 - Don't crash if we have a DIE that has a DW_AT_ranges attribute and yet the SymbolFileDWARF doesn't have a DebugRanges. If this happens print a nice error message

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 15:38:33 2016 New Revision: 270114 URL: http://llvm.org/viewvc/llvm-project?rev=270114&view=rev Log: Don't crash if we have a DIE that has a DW_AT_ranges attribute and yet the SymbolFileDWARF doesn't have a DebugRanges. If this happens print a nice error message

[llvm-branch-commits] [lldb] r270105 - Added code that was commented out during testing to stops template member functions from being added to class definitions (see revision 260308 for details).

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 15:12:51 2016 New Revision: 270105 URL: http://llvm.org/viewvc/llvm-project?rev=270105&view=rev Log: Added code that was commented out during testing to stops template member functions from being added to class definitions (see revision 260308 for details). M

[llvm-branch-commits] [lldb] r270112 - This is a cherry-pick of commit r260618

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 15:35:07 2016 New Revision: 270112 URL: http://llvm.org/viewvc/llvm-project?rev=270112&view=rev Log: This is a cherry-pick of commit r260618 Author:Greg Clayton Date: Thu Feb 11 23:36:57 2016 + Removed a bad assertion: assert(((SymbolFileDWARF*)m_a

[llvm-branch-commits] [lldb] r270119 - Handle the case when a variable is only valid in part of the enclosing scope

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 15:45:12 2016 New Revision: 270119 URL: http://llvm.org/viewvc/llvm-project?rev=270119&view=rev Log: Handle the case when a variable is only valid in part of the enclosing scope DWARF stores this information in the DW_AT_start_scope attribute. This CL add support

[llvm-branch-commits] [lldb] r270102 - Fix a problem where we were not calling fcntl() with the correct arguments for F_DUPFD

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 15:10:13 2016 New Revision: 270102 URL: http://llvm.org/viewvc/llvm-project?rev=270102&view=rev Log: Fix a problem where we were not calling fcntl() with the correct arguments for F_DUPFD On Mac OS X, this was working just fine in debug builds (presumably, becaus

[llvm-branch-commits] [lldb] r270129 - Fix dotest.py '-p' option for multi-process mode

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 16:01:31 2016 New Revision: 270129 URL: http://llvm.org/viewvc/llvm-project?rev=270129&view=rev Log: Fix dotest.py '-p' option for multi-process mode Summary: The '-p' option for dotest.py was ignored in multiprocess mode, as the -p argument to the inferior would

[llvm-branch-commits] [lldb] r270125 - Allow gdbremote process to read modules from memory

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 15:55:51 2016 New Revision: 270125 URL: http://llvm.org/viewvc/llvm-project?rev=270125&view=rev Log: Allow gdbremote process to read modules from memory Summary: The logic to read modules from memory was added to LoadModuleAtAddress in the dynamic loader, but not

[llvm-branch-commits] [lldb] r270104 - Fixed many issues that were causing differing type definition issues to show up when parsing expressions.

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 15:12:19 2016 New Revision: 270104 URL: http://llvm.org/viewvc/llvm-project?rev=270104&view=rev Log: Fixed many issues that were causing differing type definition issues to show up when parsing expressions. 1) Turns out we weren't correctly uniquing types for C++

[llvm-branch-commits] [lldb] r270126 - Make sure to update Target arch if environment changed

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 15:57:34 2016 New Revision: 270126 URL: http://llvm.org/viewvc/llvm-project?rev=270126&view=rev Log: Make sure to update Target arch if environment changed Summary: Fixes "target list" for non-android linux platforms (ie gnu, gnueabi) Reviewers: jasonmolenda, tfi

[llvm-branch-commits] [lldb] r270130 - Create _lldb python symlink correctly when LLVM_LIBDIR_SUFFIX is used

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 16:02:17 2016 New Revision: 270130 URL: http://llvm.org/viewvc/llvm-project?rev=270130&view=rev Log: Create _lldb python symlink correctly when LLVM_LIBDIR_SUFFIX is used Summary: Do not assume that liblldb.so is located in $(lldb -P)/../../../lib when creating th

[llvm-branch-commits] [lldb] r270103 - Fix "thread backtrace -s": option was misparsed because of a missing break.

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 15:11:28 2016 New Revision: 270103 URL: http://llvm.org/viewvc/llvm-project?rev=270103&view=rev Log: Fix "thread backtrace -s": option was misparsed because of a missing break. Modified: lldb/branches/release_38/source/Commands/CommandObjectThread.cpp Modif

[llvm-branch-commits] [lldb] r270098 - Fix an issue where scripted commands would not actually print any of their output if an immediate output file was set in the result object via a Python file obje

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 15:02:44 2016 New Revision: 270098 URL: http://llvm.org/viewvc/llvm-project?rev=270098&view=rev Log: Fix an issue where scripted commands would not actually print any of their output if an immediate output file was set in the result object via a Python file objec

[llvm-branch-commits] [lldb] r270123 - Make File option flags consistent for Python API

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 15:52:14 2016 New Revision: 270123 URL: http://llvm.org/viewvc/llvm-project?rev=270123&view=rev Log: Make File option flags consistent for Python API Summary: Fixes SBCommandReturnObject::SetImmediateOutputFile() and SBCommandReturnObject::SetImmediateOutputFile()

[llvm-branch-commits] [lldb] r270117 - Fixed a problem where the DWARF for inline functions was mis-parsed.

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 15:43:26 2016 New Revision: 270117 URL: http://llvm.org/viewvc/llvm-project?rev=270117&view=rev Log: Fixed a problem where the DWARF for inline functions was mis-parsed. Inline functions in DWARF have AT_abstract_origin set, but we only handled that if the functio

[llvm-branch-commits] [lldb] r270120 - Fix deadlock due to thread list locking in 'bt all' with obj-c

2016-05-19 Thread Francis Ricci via llvm-branch-commits
Author: fjricci Date: Thu May 19 15:47:30 2016 New Revision: 270120 URL: http://llvm.org/viewvc/llvm-project?rev=270120&view=rev Log: Fix deadlock due to thread list locking in 'bt all' with obj-c Summary: The gdb-remote async thread cannot modify thread state while the main thread holds a lock o