[lldb][tests] Automatically call compute_mydir (NFC)Eliminate boilerplate of having each test manually assign to `mydir` by calling`compute_mydir` in lldbtest.py.Differential Revision: https://r
[lldb][tests] Automatically call compute_mydir (NFC)Eliminate boilerplate of having each test manually assign to `mydir` by calling`compute_mydir` in lldbtest.py.Differential Revision: https://reviews.llvm.org/D128077
show more ...
[lldb] Use assertState in more tests (NFC)Follow to D127355, converting more `assertEquals` to `assertState`.Differential Revision: https://reviews.llvm.org/D127378
Pass plugin_name in SBProcess::SaveCoreThis CL allows to use minidump save-core functionality (https://reviews.llvm.org/D108233) via SBProcess interface.After adding a support from gdb-remote clie
Pass plugin_name in SBProcess::SaveCoreThis CL allows to use minidump save-core functionality (https://reviews.llvm.org/D108233) via SBProcess interface.After adding a support from gdb-remote client (https://reviews.llvm.org/D101329) if the plugin name is empty the plugin manager will try to save the core directly from the process plugin.See https://github.com/llvm/llvm-project/blob/main/lldb/source/Core/PluginManager.cpp#L696To have an ability to save the core with minidump plugin I added plugin name as a parameter in SBProcess::SaveCore.Reviewed By: clayborgDifferential Revision: https://reviews.llvm.org/D125325
[LLDB] Remove cases of using namespace stdWe had using namespace std; sprinkled around several source files and tests.Differential Revision: https://reviews.llvm.org/D120966
[lldb] Replace asserts on .Success() with assertSuccess()Replace forms of `assertTrue(err.Success())` with `assertSuccess(err)` (added in D82759).* `assertSuccess` prints out the error's message
[lldb] Replace asserts on .Success() with assertSuccess()Replace forms of `assertTrue(err.Success())` with `assertSuccess(err)` (added in D82759).* `assertSuccess` prints out the error's message* `assertSuccess` expresses explicit higher level semantics, both to the reader and for test failure output* `assertSuccess` seems not to be well known, using it where possible will help spread knowledge* `assertSuccess` statements are more succinctDifferential Revision: https://reviews.llvm.org/D119616
[lldb] Add minidump save-core functionality to ELF object filesThis change adds save-core functionality into the ObjectFileELF that enablessaving minidump of a stopped process. This change is main
[lldb] Add minidump save-core functionality to ELF object filesThis change adds save-core functionality into the ObjectFileELF that enablessaving minidump of a stopped process. This change is mainly targeting Linuxrunning on x86_64 machines. Minidump should contain basic information neededto examine state of threads, local variables and stack traces. Full supportfor other platforms is not so far implemented. API tests are using LLDB'sMinidumpParser.This relands commit aafa05e, reverted in 1f986f6.Failed tests were fixed.Reviewed By: clayborgDifferential Revision: https://reviews.llvm.org/D108233
Revert "[lldb] Add minidump save-core functionality to ELF object files"This reverts commit aafa05e03d629cc6605718c54575256d9d683659.Broke builder on aarch64 --https://lab.llvm.org/buildbot/#/bu
Revert "[lldb] Add minidump save-core functionality to ELF object files"This reverts commit aafa05e03d629cc6605718c54575256d9d683659.Broke builder on aarch64 --https://lab.llvm.org/buildbot/#/builders/96/builds/10926
[lldb] Add minidump save-core functionality to ELF object filesThis change adds save-core functionality into the ObjectFileELF that enablessaving minidump of a stopped process. This change is mainly targeting Linuxrunning on x86_64 machines. Minidump should contain basic information neededto examine state of threads, local variables and stack traces. Full supportfor other platforms is not so far implemented. API tests are using LLDB'sMinidumpParser.Reviewed By: clayborgDifferential Revision: https://reviews.llvm.org/D108233