CrashReason: Add MTE tag check faults to the list of crash reasons.
authorPeter Collingbourne <peter@pcc.me.uk>
Thu, 17 Dec 2020 23:34:49 +0000 (15:34 -0800)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 29 Dec 2020 22:36:50 +0000 (14:36 -0800)
commit7e5a187de31358741f9868cdee7b0c63c1343d8d
treeaa19ee98bfec7fcca60990eb89ecbf40b82b613b
parent5fd2b3a1246fee0ce1613931fcf1ed51412a6b3f
CrashReason: Add MTE tag check faults to the list of crash reasons.

As of Linux 5.10, the kernel may report either of the two following
crash reasons:
- SEGV_MTEAERR: async MTE tag check fault
- SEGV_MTESERR: sync MTE tag check fault

Teach LLDB about them.

Differential Revision: https://reviews.llvm.org/D93495
lldb/source/Plugins/Process/POSIX/CrashReason.cpp
lldb/source/Plugins/Process/POSIX/CrashReason.h