Sketch out the armv7 and arm64 core file writing support in
authorJason Molenda <jmolenda@apple.com>
Wed, 12 Nov 2014 01:11:36 +0000 (01:11 +0000)
committerJason Molenda <jmolenda@apple.com>
Wed, 12 Nov 2014 01:11:36 +0000 (01:11 +0000)
commit229525848a2d85e5cfdcee832570c2cba3f8eaa5
tree3f13758b6637c865a87332f17bd9aeabaf2032a6
parent319c48eb2d03623a3f981cfd1dcce356be40acb7
Sketch out the armv7 and arm64 core file writing support in
ObjectFileMachO.  It's close but we seem to be missing some
of the memory region segments - not exactly sure how that's
happening.  The register context writing into the LC_THREAD
load commands is working correctly though.

Slightly reordered the arm64 definitions in ArchSpec.cpp so
when we look for an arm64 core file definiton we're getting
a cpu subtype of CPU_ANY which we can't put in the mach
header of a core file.  Make the first definition we find by
linear search have the currently correct '1' cpu subtype.

llvm-svn: 221743
lldb/source/Core/ArchSpec.cpp
lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp