Add Asan support for clang on windows.
authorRay Molenkamp <github@lazydodo.com>
Thu, 31 May 2018 17:50:30 +0000 (11:50 -0600)
committerRay Molenkamp <github@lazydodo.com>
Thu, 31 May 2018 17:50:30 +0000 (11:50 -0600)
commit7c75c2db4f97e192d76761afe0cdb4391bdc0ec1
treee74d5681b8bc4d1bd12c4253aca1dabab2edff30
parentcfea9c261c2349e03c5ce38a04659479901ce815
Add Asan support for clang on windows.

This will currently only work for the RelWithDebInfo configuration since asan
does not support the debug crt. for source line information in the reports,
you need a copy of llvm-symbolizer in the blender folder or set the
ASAN_SYMBOLIZER_PATH environment variable to point to it. Currently (as of
6.0.0) llvm-symbolizer does not ship with the binary clang/llvm distribution.

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D3446
CMakeLists.txt
build_files/cmake/macros.cmake
build_files/cmake/platform/platform_win32.cmake
build_files/windows/configure_msbuild.cmd
build_files/windows/configure_ninja.cmd
build_files/windows/parse_arguments.cmd
build_files/windows/reset_variables.cmd
source/blender/datatoc/CMakeLists.txt
source/blender/makesdna/intern/CMakeLists.txt
source/blender/makesrna/intern/CMakeLists.txt