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
// 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");