Enable armv7 core file writing for Mach-O binaries.

The problems with the dyld all image infos struct 
seems to be specific to arm64.

llvm-svn: 221760
This commit is contained in:
Jason Molenda 2014-11-12 02:39:14 +00:00
parent 5b7bb884e6
commit 4b0c118713
1 changed files with 4 additions and 3 deletions

View File

@ -5437,11 +5437,12 @@ ObjectFileMachO::SaveCore (const lldb::ProcessSP &process_sp,
bool make_core = false;
switch (target_arch.GetMachine())
{
// arm and arm64 core file writing is having some problem with writing
// down the dyld shared images info struct and/or the main executable binary.
// case llvm::Triple::arm:
// arm64 core file writing is having some problem with writing down the
// dyld shared images info struct and/or the main executable binary. May
// turn out to be a debugserver problem, not sure yet.
// case llvm::Triple::aarch64:
case llvm::Triple::arm:
case llvm::Triple::x86:
case llvm::Triple::x86_64:
make_core = true;