llvm-capstone/lldb/unittests
Pavel Labath 68e3886e57 Recompute ArchSpec core after MergeFrom
Summary:
MergeFrom was updating the architecture if the target triple did not
have it set. However, it was leaving the core field as invalid. This
resulted in assertion failures in core file tests as a missing core
meant we were unable to compute the address byte size properly.

Add a unit test for the new behaviour.

Reviewers: jingham, clayborg

Subscribers: lldb-commits

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

llvm-svn: 300836
2017-04-20 12:30:18 +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
debugserver Revert yesterdays IPv6 patches 2017-04-19 10:13:22 +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 Revert yesterdays IPv6 patches 2017-04-19 10:13:22 +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 Move DataBuffer / DataExtractor and friends from Core -> Utility. 2017-03-04 01:30:05 +00:00
Platform [CMake] Update unit tests with accurate dependencies 2017-02-01 22:17:00 +00:00
Process Revert yesterdays IPv6 patches 2017-04-19 10:13:22 +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
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