[all-commits] [llvm/llvm-project] 9f4180: [lldb] Pick the correct architecutre when target a...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Thu Aug 22 08:30:10 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9f418057dc73e4e5cb94a7cd671097275ffc29fc
https://github.com/llvm/llvm-project/commit/9f418057dc73e4e5cb94a7cd671097275ffc29fc
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-08-22 (Thu, 22 Aug 2024)
Changed paths:
M lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
A lldb/test/Shell/Process/Inputs/a.out.yaml
A lldb/test/Shell/Process/Inputs/corefile.yaml
A lldb/test/Shell/Process/ProcessMachCoreArch.test
Log Message:
-----------
[lldb] Pick the correct architecutre when target and core file disagree (#105576)
In f9f3316, Adrian fixed an issue where LLDB wouldn't update the
target's architecture when the process reported a different triple that
only differed in its sub-architecture.
This unintentionally regressed core file debugging when the core file
reports the base architecture (e.g. armv7) while the main binary knows
the correct CPU subtype (e.g. armv7em). After the aforementioned change,
we update the target architecture from armv7em to armv7. Fix the issue
by trusting the target architecture over the ProcessMachCore process.
rdar://133834304
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list