Skip to content

Commit

Permalink
Enable sanitizer on MSVC jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
John McFarlane committed Dec 31, 2021
1 parent 9edbb7d commit a873782
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/toolchain/msvc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ set(EXCEPTION_DISABLED_FLAGS "/GR- -DBOOST_NO_EXCEPTIONS -DBOOST_NO_RTTI")
set(INT128_ENABLED_FLAGS "")
set(INT128_DISABLED_FLAGS "")

set(SANITIZE_ENABLED_CXX_FLAGS "/fsanitize=address /fsanitize-address-use-after-return")

set(SAMPLE_CXX_FLAGS "/wd4018")

0 comments on commit a873782

Please sign in to comment.