forked from aosp-mirror/platform_development
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip adding value lines for accidental matches.
If the value_line regex matches, and the symbol file happens to exist as a directory, we'd call addr2line and crash. Fix this so that calling addr2line on a directory doesn't happen. There isn't an easy way to test this, but I added a single new unit test. The real test was to use a tombstone file that used to crash, but no longer crashes. Test: Wrote new unit test, ran over a tombstone file that used to crash. Change-Id: I4331e3b032cee8d697d1b7f409638750c61971d6
- Loading branch information
1 parent
cc3a31f
commit 5f1b4f0
Showing
2 changed files
with
27 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters