Skip to content

Commit

Permalink
Merge pull request #11728 from davidlt/cmssw-ubsan
Browse files Browse the repository at this point in the history
Add _UBSAN_ to CMSSW
  • Loading branch information
cmsbuild committed Oct 19, 2015
2 parents cc1eca9 + 5c1d7f1 commit 1790c03
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions FWCore/Framework/bin/BuildFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<release name=".*_ASAN_.*">
<flags LDFLAGS="-fsanitize=address -static-libasan"/>
</release>
<release name=".*_UBSAN_.*">
<flags LDFLAGS="-g -fsanitize=undefined -static-libubsan"/>
</release>
<bin name="cmsRunGlibC" file="cmsRun.cpp">
<use name="roothistmatrix"/>
<use name="tbb"/>
Expand Down
3 changes: 3 additions & 0 deletions FWCore/ParameterSet/bin/BuildFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<release name=".*_ASAN_.*">
<flags LDFLAGS="-fsanitize=address -static-libasan"/>
</release>
<release name=".*_UBSAN_.*">
<flags LDFLAGS="-g -fsanitize=undefined -static-libubsan"/>
</release>
<use name="boost"/>
<use name="FWCore/ParameterSet"/>
<bin file="edmPluginHelp.cpp">
Expand Down
3 changes: 3 additions & 0 deletions FWCore/PluginManager/bin/BuildFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<release name=".*_ASAN_.*">
<flags LDFLAGS="-fsanitize=address -static-libasan"/>
</release>
<release name=".*_UBSAN_.*">
<flags LDFLAGS="-g -fsanitize=undefined -static-libubsan"/>
</release>
<bin name="edmPluginDump" file="dump.cc">
<use name="boost"/>
<use name="boost_program_options"/>
Expand Down

0 comments on commit 1790c03

Please sign in to comment.