summaryrefslogtreecommitdiff
path: root/docs/FaultMaps.rst
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-04-16 16:01:22 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-04-16 16:01:22 +0000
commit71d5a2540a98c81f5bcaeb48805e0e2881f530ef (patch)
tree5343938942df402b49ec7300a1c25a2d4ccd5821 /docs/FaultMaps.rst
parent31bbf64f3a4974a2d6c8b3b27ad2f519caf74057 (diff)
Diffstat (limited to 'docs/FaultMaps.rst')
-rw-r--r--docs/FaultMaps.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/FaultMaps.rst b/docs/FaultMaps.rst
index 4ecdd86d7693..d63ff5a84394 100644
--- a/docs/FaultMaps.rst
+++ b/docs/FaultMaps.rst
@@ -47,12 +47,18 @@ The format of this section is
uint32 : NumFaultingPCs
uint32 : Reserved (expected to be 0)
FunctionFaultInfo[NumFaultingPCs] {
- uint32 : FaultKind = FaultMaps::FaultingLoad (only legal value currently)
+ uint32 : FaultKind
uint32 : FaultingPCOffset
uint32 : HandlerPCOffset
}
}
+FailtKind describes the reason of expected fault. Currently three kind
+of faults are supported:
+
+ 1. ``FaultMaps::FaultingLoad`` - fault due to load from memory.
+ 2. ``FaultMaps::FaultingLoadStore`` - fault due to instruction load and store.
+ 3. ``FaultMaps::FaultingStore`` - fault due to store to memory.
The ``ImplicitNullChecks`` pass
===============================