Skip to content

Commit

Permalink
Set sanitize-address-use-after-return to always, this reduces code size
Browse files Browse the repository at this point in the history
  • Loading branch information
tpadioleau committed Jan 4, 2025
1 parent 3810ca6 commit 857ae37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ jobs:
export DDC_CXXFLAGS="-Werror -Wall -Wextra -Wpedantic -Wno-sign-compare -pedantic-errors ${{matrix.backend.ddc_extra_cxx_flags}}"
if [ 'xcpu-g++-Debug' = 'x${{matrix.backend.name}}-${{matrix.backend.cxx_compiler}}-${{matrix.cmake_build_type}}' ]
then
export DDC_CXXFLAGS="$DDC_CXXFLAGS -fno-omit-frame-pointer -fsanitize=address"
export DDC_CXXFLAGS="$DDC_CXXFLAGS -fno-omit-frame-pointer -fsanitize=address -fsanitize-address-use-after-return=always"
fi
cmake \
Expand Down

0 comments on commit 857ae37

Please sign in to comment.