DescriptionFix removal of unreferenced ASAN API functions
When a DLL is instrumented with ASAN, there is some thunks introduced
that dynamically resolved the function through the imports table and
redirect the call from the DLL to the main executable.
Unfortunately, unreferenced functions recently got removed by the
linker.
Without this fix this function is not part of the final executable:
__asan_locate_address
% dumpbin D:\src\chromium\src\out\ninja64\initialexe\chrome.exe /exports | grep asan_l
This is making chrome to crash on startup when loading chrome_elf.dll.
ASAN is failing to hook on a function and call abort, which is also
failing because ASAN is still in the "tls-initialisation" phase.
R=ochang@chromium.org, rnk@chromium.org, thakis@chromium.org, chrisha@chromium.org
BUG=
Review-Url: https://codereview.chromium.org/2710573003
Cr-Commit-Position: refs/heads/master@{#451836}
Committed: https://chromium.googlesource.com/chromium/src/+/803397e04777bc734a9c028813351c2e5079faf1
Patch Set 1 #
Messages
Total messages: 9 (4 generated)
|