aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorYaxun (Sam) Liu <yaxun.liu@amd.com>2021-07-19 17:15:38 -0400
committerYaxun (Sam) Liu <yaxun.liu@amd.com>2021-07-23 10:35:52 -0400
commit44dbbe61060acac4d0991a15decac4c909e26844 (patch)
treeaefb64725654f2d08a6a4622270bb7cd93dd3b7e /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parentdd70cd089a73bec5a8ec411ae307d65516ad70bc (diff)
downloadllvm-44dbbe61060acac4d0991a15decac4c909e26844.zip
llvm-44dbbe61060acac4d0991a15decac4c909e26844.tar.gz
llvm-44dbbe61060acac4d0991a15decac4c909e26844.tar.bz2
[HIP] Preserve ASAN bitcode library functions
Address sanitizer passes may generate call of ASAN bitcode library functions after bitcode linking in lld, therefore lld cannot add those symbols since it does not know they will be used later. To solve this issue, clang emits a reference to a bicode library function which calls all ASAN functions which need to be preserved. This basically force all ASAN functions to be linked in. Reviewed by: Artem Belevich Differential Revision: https://reviews.llvm.org/D106315
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions