Merge "Support MTE and GWP-ASan features in proto tombstones." am: efad4dcd74 am: 1f58a4bf12
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1625208 Change-Id: I88e9af60210c37d2b5867006f6b7874b650b1b11
This commit is contained in:
committed by
Automerger Merge Worker
commit
f26d63feb3
@@ -411,8 +411,13 @@ public final class NativeTombstoneManager {
|
||||
processName = stream.readString(Tombstone.PROCESS_NAME);
|
||||
break;
|
||||
|
||||
case (int) Tombstone.CAUSE:
|
||||
long token = stream.start(Tombstone.CAUSE);
|
||||
case (int) Tombstone.CAUSES:
|
||||
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:
|
||||
while (stream.nextField() != ProtoInputStream.NO_MORE_FIELDS) {
|
||||
switch (stream.getFieldNumber()) {
|
||||
|
||||
Reference in New Issue
Block a user