Page MenuHome

Fix Asan for clang on windows
ClosedPublic

Authored by Ray Molenkamp (LazyDodo) on May 30 2018, 6:41 PM.

Details

Summary

This makes asan work for the "RelWithDebInfo" configuration.

Ideally i'd like to add a configuration 'debug_asan' on windows, which will be identical to RelWithDebInfo but with the optimizer disabled. asan currently doesn't work with the debug-crt and i can't switch the debug config to use the release crt cause none of the libs will link against that.

Diff Detail

Repository
rB Blender

Event Timeline

One typo, otherwise LGTM.

CMakeLists.txt
551

Should be ${_asan_defaults}

This revision is now accepted and ready to land.May 30 2018, 7:44 PM

You had a rather strong opinion last time i tried adding a configuration, any objections here ? (again, will only add it when windows+clang are in play)

Ray Molenkamp (LazyDodo) edited the summary of this revision. (Show Details)
  • fix typo / add support in make.bat for asan for easy access.
Ray Molenkamp (LazyDodo) marked an inline comment as done.May 30 2018, 11:11 PM
This revision was automatically updated to reflect the committed changes.