summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2017-08-31 16:42:23 +0900
committerJae Shin <jaeshin@google.com>2017-10-23 02:42:47 +0000
commit257de3def5092797a9ab29551c94bcc57e07eaa0 (patch)
tree09d3956820f7a3fc68dd474e701709b55da858db /libutils/Unicode.cpp
parentecc703c792651c1406592eed9f730c8e97ebc3cf (diff)
fix: boot fails on ASAN builds with VNDK restriction
Fix the bug that caused boot failure on ASAN builds with VNDK restriciton. The major cause is because incorrect (old) ld.config.txt was used when the build is sanitized, which prevented the dynamic linker to find some VNDK libs that only exist in /system/lib/vndk; the old ld.config.txt does not have the directory in its search paths. So, this CL fixes the problem by having the same ld.config.txt for both sanitized and non-sanitizied builds. Furthermore, ld.config.txt is modified so that dependency to libclang_rt* libs are redirected to those in /system/lib directory. This ensures that the sanitizer runtime libs are not dual loaded but are provided for both platform and vendors. Bug: 65217017 Test: SANITIZE_TARGET=integer_overflow SANITIZE_TARGET_DIAG=integer_overflow m on 2017 pixel devices. The build is successful and the device boots to the UI. Merged-In: I0e21e20d9aca340b984968e07d4ce542ae10fd31 Change-Id: I0e21e20d9aca340b984968e07d4ce542ae10fd31 (cherry picked from commit faefa6bd3682a0e8f5de2184cca5960a82a00020)
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions