File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/coreclr/nativeaot/Bootstrap Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 22// The .NET Foundation licenses this file to you under the MIT license.
33
44#include < stdint.h>
5- #include " minipal/utils.h"
65
76//
87// This is the mechanism whereby multiple linked modules contribute their global data for initialization at
@@ -219,11 +218,14 @@ int main(int argc, char* argv[])
219218 return __managed__Main (argc, argv);
220219}
221220
221+ #ifdef HAS_ADDRESS_SANITIZER
222222// We need to build the bootstrapper as a single object file, to ensure
223223// the linker can detect that we have ASAN components early enough in the build.
224224// Include our asan support sources for executable projects here to ensure they
225225// are compiled into the bootstrapper object.
226226#include " minipal/asansupport.cpp"
227+ #endif // HAS_ADDRESS_SANITIZER
228+
227229#endif // !NATIVEAOT_DLL
228230
229231#ifdef NATIVEAOT_DLL
You can’t perform that action at this time.
0 commit comments