From: Timur Iskhodzhanov Date: Fri, 12 Sep 2014 13:21:02 +0000 (+0000) Subject: [ASan/Win] Rename asan_win_uar_thunk.lib to asan_win_dynamic_runtime_thunk.lib X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a75357fcbcf58d410d49f17e7937254df1c4d5b;p=clang [ASan/Win] Rename asan_win_uar_thunk.lib to asan_win_dynamic_runtime_thunk.lib It turned out that we have to bridge more stuff between the executable and the ASan RTL DLL than just __asan_option_detect_stack_use_after_return. See PR20918 for more details. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@217673 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index ced08fb8d8..7fb1a1a33c 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -7820,7 +7820,8 @@ void visualstudio::Link::ConstructJob(Compilation &C, const JobAction &JA, // FIXME: Handle 64-bit. if (Args.hasArg(options::OPT__SLASH_MD, options::OPT__SLASH_MDd)) { addSanitizerRTWindows(getToolChain(), Args, CmdArgs, "asan_dynamic-i386"); - addSanitizerRTWindows(getToolChain(), Args, CmdArgs, "asan_uar_thunk-i386"); + addSanitizerRTWindows(getToolChain(), Args, CmdArgs, + "asan_dynamic_runtime_thunk-i386"); } else if (DLL) { addSanitizerRTWindows(getToolChain(), Args, CmdArgs, "asan_dll_thunk-i386");