summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2017-08-31 16:42:23 +0900
committerJiyong Park <jiyong@google.com>2017-09-01 07:53:56 +0900
commitfaefa6bd3682a0e8f5de2184cca5960a82a00020 (patch)
tree07fe564663a0c318aff9f84ba9c9f193908c1799 /trusty/coverage/coverage_test.cpp
parent367984602abab743630d1fba8e4940f0a69e678b (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. Change-Id: I0e21e20d9aca340b984968e07d4ce542ae10fd31
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions