diff options
author | Aleksandr Urakov <aleksandr.urakov@jetbrains.com> | 2019-04-29 07:29:25 +0000 |
---|---|---|
committer | Aleksandr Urakov <aleksandr.urakov@jetbrains.com> | 2019-04-29 07:29:25 +0000 |
commit | 26366c3e2cc0be09bc78e287982527c3f80caa61 (patch) | |
tree | caab0fbd6d51a5467aaa0cd8d00e2de614eaa1b7 /lldb/packages/Python/lldbsuite/test | |
parent | ba45daab1417b099ec1743a3187320b5488775a4 (diff) | |
download | bcm5719-llvm-26366c3e2cc0be09bc78e287982527c3f80caa61.tar.gz bcm5719-llvm-26366c3e2cc0be09bc78e287982527c3f80caa61.zip |
[Windows] Dump more information about access violation exception
Summary:
Dump more information about "access violation" and "in page error" exceptions to
description. Description now contains data about read/write violation type and
actual address as described at
https://docs.microsoft.com/en-us/windows/desktop/api/winnt/ns-winnt-_exception_record
Reviewers: asmith, stella.stamenova
Reviewed By: stella.stamenova
Subscribers: teemperor, amccarth, abidh, lldb-commits, aleksandr.urakov
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D60519
llvm-svn: 359420
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/lldbutil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbutil.py b/lldb/packages/Python/lldbsuite/test/lldbutil.py index 16950d7b5cd..dbdc0f59c66 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbutil.py +++ b/lldb/packages/Python/lldbsuite/test/lldbutil.py @@ -737,7 +737,7 @@ def is_thread_crashed(test, thread): return thread.GetStopReason() == lldb.eStopReasonSignal and thread.GetStopReasonDataAtIndex( 0) == thread.GetProcess().GetUnixSignals().GetSignalNumberFromName("SIGSEGV") elif test.getPlatform() == "windows": - return "Exception 0xc0000005" in thread.GetStopDescription(100) + return "Exception 0xc0000005" in thread.GetStopDescription(200) else: return "invalid address" in thread.GetStopDescription(100) |