llvm-project/lldb/source
Pavel Labath 4f1f64174b MainLoop: Add unit tests
Summary:
This adds a couple of unit tests to the MainLoop class. To get the
kqueue based version of the signal handling passing, I needed to
modify the implementation a bit to make the queue object persistent.
Otherwise, only the signals which are send during the Run call would get
processed, which did not match the ppoll behaviour.

I also took the opportunity to remove the ForEach template functions and
replace them with something more reasonable.

Reviewers: beanz, eugene

Subscribers: lldb-commits, mgorny

Differential Revision: https://reviews.llvm.org/D32753

llvm-svn: 302133
2017-05-04 10:11:33 +00:00
..
API Initial implementation of SB APIs for Tracing support. 2017-04-26 08:48:50 +00:00
Breakpoint iwyu fixes for lldbCore. 2017-04-06 21:28:29 +00:00
Commands Fix !N and !-N commands and add a test case. 2017-04-19 23:21:04 +00:00
Core Provide a mechanism to do some pre-loading of symbols up front. 2017-04-28 00:51:06 +00:00
DataFormatters Stop calling ValueObject::SetName from synthetic child providers 2017-03-31 20:48:00 +00:00
Expression Add CopyDiagnostic to the DiagnosticManager. 2017-04-19 18:56:44 +00:00
Host MainLoop: Add unit tests 2017-05-04 10:11:33 +00:00
Initialization Enable ProcessPOSIXLog on NetBSD 2017-03-21 17:26:55 +00:00
Interpreter Change UniqueCStringMap to use ConstString as the key 2017-05-02 10:17:30 +00:00
Plugins Fixed a bug where we did not properly use the complete versions of Objective-C classes. 2017-05-03 00:41:43 +00:00
Symbol Check for lack of C++ context first when demangling 2017-05-03 10:00:00 +00:00
Target Provide a mechanism to do some pre-loading of symbols up front. 2017-04-28 00:51:06 +00:00
Utility Remove lock from ConstString::GetLength 2017-04-28 12:08:28 +00:00
CMakeLists.txt Remove Plugins/Process/POSIX from include_directories 2017-04-11 12:26:25 +00:00
lldb.cpp One more cleanup to lldb version printing 2016-11-14 22:43:08 +00:00