[Lldb-commits] [PATCH] D45628: [LLDB] Support compressed debug info sections (.zdebug*)

2018-05-01 Thread Erik Welander via Phabricator via lldb-commits
alur updated this revision to Diff 144834. alur edited the summary of this revision. alur added a comment. Since there was some changes to the file during the last couple of days I've updated the patches to be against HEAD again. https://reviews.llvm.org/D45628 Files: packages/Python/lldbsui

[Lldb-commits] [lldb] r331323 - Update lldb to match clang r331244 (addition of char8_t).

2018-05-01 Thread Richard Smith via lldb-commits
Author: rsmith Date: Tue May 1 19:43:22 2018 New Revision: 331323 URL: http://llvm.org/viewvc/llvm-project?rev=331323&view=rev Log: Update lldb to match clang r331244 (addition of char8_t). Also fix misclassification of char16_t and char32_t: these are unsigned types, not signed types. Modified

[Lldb-commits] [PATCH] D46334: [lit] Make debugserver available to lit test

2018-05-01 Thread Stella Stamenova via Phabricator via lldb-commits
stella.stamenova added inline comments. Comment at: test/CMakeLists.txt:138 if(CMAKE_HOST_APPLE) - list(APPEND LLDB_TEST_COMMON_ARGS --server ${DEBUGSERVER_PATH}) + if (DEBUGSERVER_PATH STREQUAL "$") +list(APPEND LLDB_EXECUTABLE_PATH_ARGS --server ${DEBUGSERVER_PATH})

[Lldb-commits] [PATCH] D46334: [lit] Make debugserver available to lit test

2018-05-01 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere added inline comments. Comment at: test/CMakeLists.txt:138 if(CMAKE_HOST_APPLE) - list(APPEND LLDB_TEST_COMMON_ARGS --server ${DEBUGSERVER_PATH}) + if (DEBUGSERVER_PATH STREQUAL "$") +list(APPEND LLDB_EXECUTABLE_PATH_ARGS --server ${DEBUGSERVER_PATH})

[Lldb-commits] [PATCH] D45348: Don't return error for settings set .experimental. settings that are absent

2018-05-01 Thread Phabricator via Phabricator via lldb-commits
This revision was not accepted when it landed; it landed in state "Needs Review". This revision was automatically updated to reflect the committed changes. Closed by commit rL331315: Fix the .experimental. settings feature so that we don't return an error (authored by jmolenda, committed by ). C

[Lldb-commits] [lldb] r331315 - Fix the .experimental. settings feature so that we don't return an error

2018-05-01 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Tue May 1 15:49:01 2018 New Revision: 331315 URL: http://llvm.org/viewvc/llvm-project?rev=331315&view=rev Log: Fix the .experimental. settings feature so that we don't return an error if an experimental setting has been removed/is missing. Add tests for the .experimental.

[Lldb-commits] [PATCH] D46334: [lit] Make debugserver available to lit test

2018-05-01 Thread Stella Stamenova via Phabricator via lldb-commits
stella.stamenova added inline comments. Comment at: test/CMakeLists.txt:138 if(CMAKE_HOST_APPLE) - list(APPEND LLDB_TEST_COMMON_ARGS --server ${DEBUGSERVER_PATH}) + if (DEBUGSERVER_PATH STREQUAL "$") +list(APPEND LLDB_EXECUTABLE_PATH_ARGS --server ${DEBUGSERVER_PATH})

[Lldb-commits] [PATCH] D46334: [lit] Make debugserver available to lit test

2018-05-01 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere added inline comments. Comment at: test/CMakeLists.txt:129 if(LLDB_BUILD_FRAMEWORK) list(APPEND LLDB_TEST_COMMON_ARGS --framework $) endif() We'll have to do the same thing here, but the debugserver is more pressing as it's keeping GreenDragon

[Lldb-commits] [PATCH] D46334: [lit] Make debugserver available to lit test

2018-05-01 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere created this revision. JDevlieghere added reviewers: stella.stamenova, zturner, davide. Herald added subscribers: jkorous, mgorny. Because we can't expand generator expressions for the lit tests, we need to set the path to the debugserver in the `_STR` variable so it's expanded prope

[Lldb-commits] [PATCH] D46292: Use the UUID from the minidump's CodeView Record for placeholder modules

2018-05-01 Thread Leonard Mosescu via Phabricator via lldb-commits
lemo added inline comments. Comment at: include/lldb/Core/Module.h:779 + //-- + void SetUUID(const lldb_private::UUID &uuid); + labath wrote: > lemo wrote: > > labath wrote: > > > amccarth wrote: >

[Lldb-commits] [PATCH] D46292: Use the UUID from the minidump's CodeView Record for placeholder modules

2018-05-01 Thread Leonard Mosescu via Phabricator via lldb-commits
lemo updated this revision to Diff 144790. https://reviews.llvm.org/D46292 Files: include/lldb/Core/Module.h include/lldb/Core/ModuleSpec.h packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/TestMiniDumpNew.py packages/Python/lldbsuite/test/functionalities/postmortem

[Lldb-commits] [PATCH] D46292: Use the UUID from the minidump's CodeView Record for placeholder modules

2018-05-01 Thread Pavel Labath via Phabricator via lldb-commits
labath added inline comments. Comment at: include/lldb/Core/Module.h:779 + //-- + void SetUUID(const lldb_private::UUID &uuid); + lemo wrote: > labath wrote: > > amccarth wrote: > > > Was there no

[Lldb-commits] [PATCH] D46292: Use the UUID from the minidump's CodeView Record for placeholder modules

2018-05-01 Thread Leonard Mosescu via Phabricator via lldb-commits
lemo added a comment. Thanks for the feedback. I uploaded a new revision (incorporating some of the feedback, including an ELF test case) Comment at: include/lldb/Core/Module.h:779 + //-- + void SetUUID(const ll

[Lldb-commits] [PATCH] D46292: Use the UUID from the minidump's CodeView Record for placeholder modules

2018-05-01 Thread Leonard Mosescu via Phabricator via lldb-commits
lemo updated this revision to Diff 144751. lemo marked 5 inline comments as done. https://reviews.llvm.org/D46292 Files: include/lldb/Core/Module.h include/lldb/Core/ModuleSpec.h packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/TestMiniDumpNew.py packages/Python/ll

[Lldb-commits] [lldb] r331285 - Revert "[lit] Replace generator expressions in lit.site.cfg"

2018-05-01 Thread Jonas Devlieghere via lldb-commits
Author: jdevlieghere Date: Tue May 1 10:08:09 2018 New Revision: 331285 URL: http://llvm.org/viewvc/llvm-project?rev=331285&view=rev Log: Revert "[lit] Replace generator expressions in lit.site.cfg" Using GENERATE breaks generators that support multiple configurations, e.g. MSVC. Reverting for n

Re: [Lldb-commits] [PATCH] D46005: [test] Add a utility for dumping all tests in the dotest suite

2018-05-01 Thread Zachary Turner via lldb-commits
On Wed, Apr 25, 2018 at 9:19 AM Adrian Prantl wrote: > > On Apr 25, 2018, at 9:08 AM, Zachary Turner wrote: > > But is there a reason why that is more valuable with LLDB than it is with > LLVM? In LLVM when a test fails it stops and doesn't run subsequent run > lines. So you have the same issu

[Lldb-commits] [PATCH] D46318: lldb-test symbols: Add ability to do name-based lookup

2018-05-01 Thread Zachary Turner via Phabricator via lldb-commits
zturner added inline comments. Comment at: lit/CMakeLists.txt:32 +if(TARGET lld) + list(APPEND LLDB_TEST_DEPS lld) + set(LLDB_HAVE_LLD 1) Note that this depends on lld having had its own `CMakeLists.txt` file processed before LLDB's. I think this happens by a

[Lldb-commits] [PATCH] D40470: DWZ 03/07: Protect DWARFCompileUnit::m_die_array by a new mutex

2018-05-01 Thread Greg Clayton via Phabricator via lldb-commits
clayborg added a subscriber: jankratochvil. clayborg added a comment. Good catch Repository: rL LLVM https://reviews.llvm.org/D40470 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-com

Re: [Lldb-commits] [PATCH] D40470: DWZ 03/07: Protect DWARFCompileUnit::m_die_array by a new mutex

2018-05-01 Thread Greg Clayton via lldb-commits
Good catch > On May 1, 2018, at 1:19 AM, Pavel Labath via Phabricator > wrote: > > labath added inline comments. > > > > Comment at: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp:317 > void DWARFUnit::ClearDIEs(bool keep_compile_unit_die) { > if (m_die_array.size

[Lldb-commits] [lldb] r331277 - [lit] Replace generator expressions in lit.site.cfg

2018-05-01 Thread Jonas Devlieghere via lldb-commits
Author: jdevlieghere Date: Tue May 1 09:19:48 2018 New Revision: 331277 URL: http://llvm.org/viewvc/llvm-project?rev=331277&view=rev Log: [lit] Replace generator expressions in lit.site.cfg The lit site configuration for the test suite can contain generator expressions such as $ that need to be

[Lldb-commits] [PATCH] D46318: lldb-test symbols: Add ability to do name-based lookup

2018-05-01 Thread Pavel Labath via Phabricator via lldb-commits
labath created this revision. labath added reviewers: davide, zturner, asmith, JDevlieghere, clayborg. Herald added subscribers: aprantl, mgorny. Herald added a reviewer: alexshap. lldb-test already had the ability to dump all symbol information in a module. This is interesting, but it can be too

[Lldb-commits] [lldb] r331270 - Remove redundant command.

2018-05-01 Thread Adrian Prantl via lldb-commits
Author: adrian Date: Tue May 1 08:38:01 2018 New Revision: 331270 URL: http://llvm.org/viewvc/llvm-project?rev=331270&view=rev Log: Remove redundant command. Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/global_variables/TestGlobalVariables.py Modified: lldb/trunk/packages/Py

[Lldb-commits] [PATCH] D46220: Remove premature caching of the global variables list in CompileUnit.

2018-05-01 Thread Adrian Prantl via Phabricator via lldb-commits
aprantl added inline comments. Comment at: lldb/trunk/packages/Python/lldbsuite/test/lang/c/global_variables/TestGlobalVariables.py:63-65 +self.runCmd("frame variable --show-types --scope --show-globals --no-args") self.expect( "frame variable --sh

[Lldb-commits] [PATCH] D46220: Remove premature caching of the global variables list in CompileUnit.

2018-05-01 Thread Pavel Labath via Phabricator via lldb-commits
labath added inline comments. Comment at: lldb/trunk/packages/Python/lldbsuite/test/lang/c/global_variables/TestGlobalVariables.py:42 +# Test that static initialized variables can be inspected without process. +self.expect("target variable g_ptr", VARIABLES_DI

[Lldb-commits] [lldb] r331250 - Split TestGlobalVariables into two and xfail one of them for arm64 linux

2018-05-01 Thread Pavel Labath via lldb-commits
Author: labath Date: Tue May 1 03:09:53 2018 New Revision: 331250 URL: http://llvm.org/viewvc/llvm-project?rev=331250&view=rev Log: Split TestGlobalVariables into two and xfail one of them for arm64 linux Displaying of global pointer variables is not working on arm64 linux (pr37301). I've moved

[Lldb-commits] [PATCH] D46292: Use the UUID from the minidump's CodeView Record for placeholder modules

2018-05-01 Thread Pavel Labath via Phabricator via lldb-commits
labath added inline comments. Comment at: include/lldb/Core/Module.h:779 + //-- + void SetUUID(const lldb_private::UUID &uuid); + amccarth wrote: > Was there no SetUUID before because the UUID was

[Lldb-commits] [PATCH] D40470: DWZ 03/07: Protect DWARFCompileUnit::m_die_array by a new mutex

2018-05-01 Thread Pavel Labath via Phabricator via lldb-commits
labath added inline comments. Comment at: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp:317 void DWARFUnit::ClearDIEs(bool keep_compile_unit_die) { if (m_die_array.size() > 1) { +llvm::sys::ScopedWriter lock(m_extractdies_mutex); You're accessi