llvm-project/lldb/unittests
Pavel Labath 47776cbd2c Fix gdb-remote qMemoryRegionInfo unit tests for xml-enabled builds
In case we are building with xml enabled, the GetMemoryRegionInfo
function will send extra packets to query te extended memory map, which
the tests were not expecting.

Add an expectation for this to the test. Right now, it's just a basic
one which pretends we don't support the extension, however, it would be
also interesting the add a test which verifies the extension-enabled
case.

I also noticed that the test does a pretty lousy job of validating the
returned memory region info, so I add a couple of extra assertions to
improve that.

llvm-svn: 331374
2018-05-02 17:00:33 +00:00
..
Breakpoint Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Core Fix narrowing warning by appending `f` to literal constant. 2018-04-19 18:31:57 +00:00
Editline Move PseudoTerminal to the lldb_private namespace 2017-12-11 10:09:14 +00:00
Expression Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Host Move FileSpecTest to Utility 2018-04-20 08:27:27 +00:00
Interpreter Move Args.cpp from Interpreter to Utility 2018-04-17 18:53:35 +00:00
Language More correct handling of error cases C++ name parser 2018-02-06 19:04:12 +00:00
ObjectFile Add a comment explaining how the input for GetModuleSpecifications_EarlySectionHeaders was generated 2018-02-05 18:03:02 +00:00
Platform [CMake] Update unit tests with accurate dependencies 2017-02-01 22:17:00 +00:00
Process Fix gdb-remote qMemoryRegionInfo unit tests for xml-enabled builds 2018-05-02 17:00:33 +00:00
ScriptInterpreter Added new API to SBStructuredData class 2017-05-29 08:25:46 +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 Fix memory leak in TestClangASTContext.TestRecordHasFields 2018-01-22 18:56:33 +00:00
SymbolFile Revert "[SymbolFilePDB] Fix null array access when parsing the type of a function without any arguments, i.e. 'int main()' and add support to test it" 2018-01-22 11:51:56 +00:00
Target Fix a compiler warning in ModuleCacheTest.cpp, NFC 2018-02-23 23:18:27 +00:00
TestingSupport cmake + xcode: prevent gtests from using includes from project root 2017-10-03 21:20:18 +00:00
UnwindAssembly [LLDB] Initial version of PPC64 InstEmulation 2018-02-27 18:42:46 +00:00
Utility Always normalize FileSpec paths. 2018-04-27 15:45:58 +00:00
debugserver [CMake] Need to set WITH_LOCKDOWN on debugserver target 2017-09-06 20:15:43 +00:00
tools llgs tests: Use noack-mode for communication to avoid pr37294 2018-04-30 14:30:02 +00:00
CMakeLists.txt [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
gtest_common.h [Windows] Remove the #include <eh.h> hack. 2017-03-03 20:21:59 +00:00