Skip to content

Commit

Permalink
Don't use -fsanitize-trap (#84)
Browse files Browse the repository at this point in the history
This option turns diagnosable runtime errors into illegal instruction
exceptions which are much less informative without an interactive
debugger.
  • Loading branch information
aitap authored Jan 20, 2025
1 parent eee4255 commit 71b1aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion containers/clang-asan/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ RUN curl -o /usr/local/bin/checkbashisms \
# ------------------------------------------------------------------------------------
# Update the system config, because the user Makevars is ignored
# for some packages
RUN app="-fsanitize=address,undefined -fno-sanitize=float-divide-by-zero -fno-sanitize=alignment -fno-omit-frame-pointer -fsanitize=pointer-overflow -fsanitize-trap=pointer-overflow -fsanitize=signed-integer-overflow"; \
RUN app="-fsanitize=address,undefined -fno-sanitize=float-divide-by-zero -fno-sanitize=alignment -fno-omit-frame-pointer -fsanitize=pointer-overflow -fsanitize=signed-integer-overflow"; \
appxx="$app -frtti"; \
makeconf="/opt/R/devel-asan/lib/R/etc/Makeconf"; \
sed -i -E '/^CC ?=/ s/$/ '"$app"/ "${makeconf}" && \
Expand Down

0 comments on commit 71b1aef

Please sign in to comment.