Merge "Support MTE and GWP-ASan features in proto tombstones."
This commit is contained in:
@@ -411,8 +411,13 @@ public final class NativeTombstoneManager {
|
|||||||
processName = stream.readString(Tombstone.PROCESS_NAME);
|
processName = stream.readString(Tombstone.PROCESS_NAME);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case (int) Tombstone.CAUSE:
|
case (int) Tombstone.CAUSES:
|
||||||
long token = stream.start(Tombstone.CAUSE);
|
if (!crashReason.equals("")) {
|
||||||
|
// Causes appear in decreasing order of likelihood. For now we only
|
||||||
|
// want the most likely crash reason here, so ignore all others.
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
long token = stream.start(Tombstone.CAUSES);
|
||||||
cause:
|
cause:
|
||||||
while (stream.nextField() != ProtoInputStream.NO_MORE_FIELDS) {
|
while (stream.nextField() != ProtoInputStream.NO_MORE_FIELDS) {
|
||||||
switch (stream.getFieldNumber()) {
|
switch (stream.getFieldNumber()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user