llvm-project/lldb/source/Plugins/Process/elf-core
David Spickett 00a1258593 [lldb][AArch64] Fix corefile memory reads when there are non-address bits
Previously if you read a code/data mask before there was a valid thread
you would get the top byte mask. This meant the value was "valid" as in,
don't read it again.

When using a corefile we ask for the data mask very early on and this
meant that later once you did have a thread it wouldn't read the
register to get the rest of the mask.

This fixes that and adds a corefile test generated from the same program
as in my previous change on this theme.

Depends on D118794

Reviewed By: omjavaid

Differential Revision: https://reviews.llvm.org/D122411
2022-05-18 14:13:42 +01:00
..
CMakeLists.txt
ProcessElfCore.cpp [lldb][AArch64] Fix corefile memory reads when there are non-address bits 2022-05-18 14:13:42 +01:00
ProcessElfCore.h Reland "[lldb] Remove non address bits when looking up memory regions" 2022-02-10 10:42:49 +00:00
RegisterContextPOSIXCore_arm.cpp [lldb] Refactor DataBuffer so we can map files as read-only 2022-04-05 13:46:37 -07:00
RegisterContextPOSIXCore_arm.h [lldb] Refactor DataBuffer so we can map files as read-only 2022-04-05 13:46:37 -07:00
RegisterContextPOSIXCore_arm64.cpp [lldb] Refactor DataBuffer so we can map files as read-only 2022-04-05 13:46:37 -07:00
RegisterContextPOSIXCore_arm64.h [lldb] Refactor DataBuffer so we can map files as read-only 2022-04-05 13:46:37 -07:00
RegisterContextPOSIXCore_mips64.cpp [lldb] Refactor DataBuffer so we can map files as read-only 2022-04-05 13:46:37 -07:00
RegisterContextPOSIXCore_mips64.h [lldb] Refactor DataBuffer so we can map files as read-only 2022-04-05 13:46:37 -07:00
RegisterContextPOSIXCore_powerpc.cpp [lldb] Refactor DataBuffer so we can map files as read-only 2022-04-05 13:46:37 -07:00
RegisterContextPOSIXCore_powerpc.h [lldb] Refactor DataBuffer so we can map files as read-only 2022-04-05 13:46:37 -07:00
RegisterContextPOSIXCore_ppc64le.cpp
RegisterContextPOSIXCore_ppc64le.h
RegisterContextPOSIXCore_s390x.cpp [lldb] Refactor DataBuffer so we can map files as read-only 2022-04-05 13:46:37 -07:00
RegisterContextPOSIXCore_s390x.h [lldb] Refactor DataBuffer so we can map files as read-only 2022-04-05 13:46:37 -07:00
RegisterContextPOSIXCore_x86_64.cpp [lldb] Refactor DataBuffer so we can map files as read-only 2022-04-05 13:46:37 -07:00
RegisterContextPOSIXCore_x86_64.h [lldb] Refactor DataBuffer so we can map files as read-only 2022-04-05 13:46:37 -07:00
RegisterUtilities.cpp [nfc] [lldb] Prevent needless copies of DataExtractor 2021-08-04 20:35:53 +02:00
RegisterUtilities.h [lldb] [Process/elf-core] Fix reading NetBSD/i386 core dumps 2021-06-20 18:59:21 +02:00
ThreadElfCore.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadElfCore.h