summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2014-11-12 02:39:14 +0000
committerJason Molenda <jmolenda@apple.com>2014-11-12 02:39:14 +0000
commit4b0c118713a1d9e062ac0f795cf0c92360473140 (patch)
treebafbcefc9efea4b4cf5026dfe53c19b36f817926 /lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
parent5b7bb884e69c28d41ae5240b8e95bed77014c76a (diff)
downloadbcm5719-llvm-4b0c118713a1d9e062ac0f795cf0c92360473140.tar.gz
bcm5719-llvm-4b0c118713a1d9e062ac0f795cf0c92360473140.zip
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
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp')
-rw-r--r--lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
index 2c4b241d1ae..796b92c966c 100644
--- a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
+++ b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
@@ -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;
OpenPOWER on IntegriCloud