diff options
author | Christopher Ferris <cferris@google.com> | 2018-12-20 08:40:58 -0800 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2018-12-20 08:40:58 -0800 |
commit | a39aaf91ebec78f59a371e356523b10453efb4b2 (patch) | |
tree | 9e03fce9f7a1ef80b99772bbc85f0427efc3a2c6 /libutils/Unicode.cpp | |
parent | 38ff80810a4c79e00afbd350e15da91226d0ae88 (diff) |
Remove CHECK in AdjustEncodedValue.
The CHECK(encoding != DW_EH_PE_aligned) can trip given the right
arguments. This check isn't necessary, since the code will return
false in that case.
Add new unit test that tries all values to make sure no CHECK fires.
Bug: 120968571
Test: Passes new unit test, and passes fuzzing that failed before.
Change-Id: I062bcd18508c75cd3a4ca9dd12f922e25aafda8a
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions