summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/UnixSignals.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2019-03-06 18:04:10 +0000
committerGreg Clayton <gclayton@apple.com>2019-03-06 18:04:10 +0000
commit6795eb388442469af74245545b445d9505fdc9d8 (patch)
tree019daf67b373f4acd9ed93cf33e927ffba206c74 /lldb/source/Target/UnixSignals.cpp
parent641d0b8cee4529ed2dca697cb76de6ce4d800871 (diff)
downloadbcm5719-llvm-6795eb388442469af74245545b445d9505fdc9d8.tar.gz
bcm5719-llvm-6795eb388442469af74245545b445d9505fdc9d8.zip
Fix core files for 32 bit architectures that are supported in ProcessELFCore.cpp
Core files need to know the size of the PRSTATUS header so that we can grab the register values that follow it. The code that figure out this size was using a hard coded list of architecture cores instead of relying on 32 or 64 bit for most cores. The fix here fixes core files for 32 bit ARM. Prior to this the PRSTATUS header size was being returned as zero and the register values were being taken from the first bytes of the PRSTATUS struct (signo, etc). Differential Revision: https://reviews.llvm.org/D58985 llvm-svn: 355526
Diffstat (limited to 'lldb/source/Target/UnixSignals.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud