-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8317 from cms-sw/backport-IB_CMSSW_13_0_X_master-…
…8311 move sanitizer flags in to toolfile; drop sanitizer deps for rocm prod
- Loading branch information
Showing
4 changed files
with
18 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<tool name="sanitizer-flags-asan" version="1.0"> | ||
<ifrelease name="ASAN"> | ||
<flags CXXFLAGS="-fno-omit-frame-pointer -fsanitize=address"/> | ||
<!-- See https://github.com/cms-sw/cmssw/issues/36480 <flags CXXFLAGS="-fsanitize=pointer-compare"/> --> | ||
<flags CXXFLAGS="-fsanitize=pointer-subtract"/> | ||
</ifrelease> | ||
</tool> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<tool name="sanitizer-flags-ubsan" version="1.0"> | ||
<ifrelease name="UBSAN"> | ||
<flags CXXFLAGS="-fno-omit-frame-pointer -fsanitize=undefined"/> | ||
<flags CXXFLAGS="-fsanitize=builtin -fsanitize=pointer-overflow"/> | ||
<flags REM_BOOST_SERIALIZATION_CXXFLAGS="-fno-omit-frame-pointer -fsanitize=undefined"/> | ||
<flags REM_BOOST_SERIALIZATION_CXXFLAGS="-fsanitize=builtin -fsanitize=pointer-overflow"/> | ||
</ifrelease> | ||
</tool> |