llvm-project/lldb/unittests
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
..
Breakpoint Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
Core Recompute ArchSpec core after MergeFrom 2017-04-20 12:30:18 +00:00
Editline Move StringList from Core -> Utility. 2017-03-21 18:25:04 +00:00
Expression [Windows] Remove the #include <eh.h> hack. 2017-03-03 20:21:59 +00:00
Host MainLoop: Add unit tests 2017-05-04 10:11:33 +00:00
Interpreter Fix crash when completing in the current directory. 2017-04-15 02:44:53 +00:00
Language Add more tests for ExtractContextAndIdentifier 2017-04-06 23:12:43 +00:00
ObjectFile ObjectFileELF: Fix symbol lookup in bss section 2017-05-02 12:40:31 +00:00
Platform [CMake] Update unit tests with accurate dependencies 2017-02-01 22:17:00 +00:00
Process Re-landing IPv6 support for LLDB Host 2017-04-26 23:17:20 +00:00
ScriptInterpreter [CMake] Update unit tests with accurate dependencies 2017-02-01 22:17:00 +00:00
Signals Make LLDB skip server-client roundtrip for signals that don't require any actions 2017-03-07 21:34:40 +00:00
Symbol [CMake] Update unit tests with accurate dependencies 2017-02-01 22:17:00 +00:00
SymbolFile Move FileSpec from Host -> Utility. 2017-03-22 18:40:07 +00:00
Target Add format_provider for the MemoryRegionInfo::OptionalBool enum 2017-02-22 10:37:57 +00:00
UnwindAssembly [CMake] Update unit tests with accurate dependencies 2017-02-01 22:17:00 +00:00
Utility Resubmit "Delete the remainder of platform specific code in FileSpec." 2017-03-22 17:33:23 +00:00
debugserver Re-landing IPv6 support for LLDB Host 2017-04-26 23:17:20 +00:00
CMakeLists.txt Support Unit Testing debugserver 2017-04-12 21:56:29 +00:00
gtest_common.h [Windows] Remove the #include <eh.h> hack. 2017-03-03 20:21:59 +00:00