[compiler-rt] r264061 - [asan] Add ucrtbase.dll to the list of DLLs to intercept

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 22 08:46:50 PDT 2016

Author: rnk
Date: Tue Mar 22 10:46:50 2016
New Revision: 264061

URL: http://llvm.org/viewvc/llvm-project?rev=264061&view=rev
[asan] Add ucrtbase.dll to the list of DLLs to intercept

Reduces number of test failures in check-asan-dynamic with VS 2015.


Modified: compiler-rt/trunk/lib/interception/interception_win.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/interception/interception_win.cc?rev=264061&r1=264060&r2=264061&view=diff
--- compiler-rt/trunk/lib/interception/interception_win.cc (original)
+++ compiler-rt/trunk/lib/interception/interception_win.cc Tue Mar 22 10:46:50 2016
@@ -197,6 +197,7 @@ static void **InterestingDLLsAvailable()
     "msvcr110.dll", // VS2012
     "msvcr120.dll", // VS2013
+    "ucrtbase.dll", // Universal CRT
     // NTDLL should go last as it exports some functions that we should override
     // in the CRT [presumably only used internally].
     "ntdll.dll", NULL

More information about the llvm-commits mailing list