]> granicus.if.org Git - clang/commitdiff
[ASan/Win] Rename asan_win_uar_thunk.lib to asan_win_dynamic_runtime_thunk.lib
authorTimur Iskhodzhanov <timurrrr@google.com>
Fri, 12 Sep 2014 13:21:02 +0000 (13:21 +0000)
committerTimur Iskhodzhanov <timurrrr@google.com>
Fri, 12 Sep 2014 13:21:02 +0000 (13:21 +0000)
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

lib/Driver/Tools.cpp

index ced08fb8d8af9a479522b3e965fa2adab65c44f3..7fb1a1a33c79364fae9bdb81dcd907a6a340467a 100644 (file)
@@ -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");