Martin Storsjö 7e1a307641 [LLDB] [PECOFF] Don't crash in ReadImageDataByRVA for addresses out of range
This can happen e.g. when unwinding doesn't work perfectly.

Differential Revision: https://reviews.llvm.org/D69502
2019-10-31 11:26:06 +02:00

8 lines
363 B
Plaintext

Test that we can cope with broken unwind information that suggests
reading out of bounds.
RUN: yaml2obj %S/Inputs/broken-unwind.exe.yaml > %T/broken-unwind.exe
RUN: yaml2obj %S/Inputs/broken-unwind.dmp.yaml > %T/broken-unwind.dmp
RUN: %lldb -O "settings set target.exec-search-paths %T" \
RUN: -c %T/broken-unwind.dmp -o "image show-unwind -a 0xb1000" -o exit