OSDN Git Service

Revert "linker: disable ld.config.txt in ASAN mode"
authorJiyong Park <jiyong@google.com>
Fri, 4 Aug 2017 01:25:46 +0000 (10:25 +0900)
committerJiyong Park <jiyong@google.com>
Fri, 4 Aug 2017 01:25:46 +0000 (10:25 +0900)
commit6ab40bbf537d45b171f4830cfa6d82949d4cb258
tree61ecfb1dac53b1993c0c4d7cf682636b7fbe63b6
parent3fcd434425caa7d8ef3eba9578e4f1cf7d7436aa
Revert "linker: disable ld.config.txt in ASAN mode"

This reverts commit 81b175747d2c7831c010e7e94a6f2572d6dfe437.

Reason: 02586a2a34e6acfccf359b94db840f422b6c0231 fixed the bug that
prevented us from using LD_PRELOAD with multiple namespaces.

Bug: 38114603
Test: 1. ./external/compiler-rt/lib/asan/scripts/asan_device_setup --lib
prebuilts/clang/host/linux-x86/clang-stable/lib64/clang/5.0/lib/linux
2. enable talkback shortcut
3. in the home screen, hold vol-up/down together
4. device does not reboots and talkback shortcut is toggled
Test: bionic-unit-tests and linker-unit-tests successful
linker/linker_config.cpp
linker/tests/linker_config_test.cpp