summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2017-08-10 17:37:32 -0700
committerChristopher Ferris <cferris@google.com>2017-08-10 17:37:32 -0700
commit9e484bdb4ac24841ce8956dd9f98c33a4be4c037 (patch)
tree58b7476d9307d4a2fa67c176934cd0673c56bb20 /libutils/Unicode.cpp
parent5d89e6c7fe7d3e14cbbe8d19233bb76417f3573e (diff)
Fix another set of bugs.
- The pc read from the eh frame binary table of pc/fde offset is off by 4. I verified that on arm/arm64/x86/x86_64 the pc in this table matches the fde pc_start value. I did this by adding an error if this occurred and ran unwind_info over everything in system/lib, system/lib64, system/bin. - Fixed unit tests for the above change. - Fix a small bug in the processing encoded values. The high bit of the encoding should be masked off, but I wasn't doing that. That meant during processing of the fde, I was incorrectly returning an error because the encoded value was unknown. - Added a new test for this encoding change. Bug: 23762183 Test: Build and all unit tests pass. Also, see above comments. Change-Id: If074a410a1726392274cd72c64470ca0be48e0db
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions