llvm-project/lldb/unittests/Core
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
..
ArchSpecTest.cpp Recompute ArchSpec core after MergeFrom 2017-04-20 12:30:18 +00:00
BroadcasterTest.cpp Fix build failure in unit test. 2017-04-06 21:57:39 +00:00
CMakeLists.txt Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
DataExtractorTest.cpp Move DataBuffer / DataExtractor and friends from Core -> Utility. 2017-03-04 01:30:05 +00:00
ListenerTest.cpp Use Timeout<> in the Listener class 2016-11-30 10:41:42 +00:00
ScalarTest.cpp Move DataBuffer / DataExtractor and friends from Core -> Utility. 2017-03-04 01:30:05 +00:00
StateTest.cpp Add format_provider for lldb::StateType 2017-01-24 11:48:25 +00:00
StreamCallbackTest.cpp Move many other files from Core -> Utility. 2017-03-06 18:34:25 +00:00
StructuredDataTest.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
TimerTest.cpp [Windows] Remove the #include <eh.h> hack. 2017-03-03 20:21:59 +00:00