Open romainfrancois opened 10 years ago
(moved from https://github.com/Rcpp11/Rcpp11/issues/117)
E.g. we should try using -fsanitize=address,undefined,memory -fno-omit-frame-pointer -fcatch-undefined-behavior. These should be available in recent versions of clang and gcc >= 4.9.0
-fsanitize=address,undefined,memory -fno-omit-frame-pointer -fcatch-undefined-behavior
clang
gcc
R-exts talks about it a bit here.
(moved from https://github.com/Rcpp11/Rcpp11/issues/117)
E.g. we should try using
-fsanitize=address,undefined,memory -fno-omit-frame-pointer -fcatch-undefined-behavior
. These should be available in recent versions ofclang
andgcc
>= 4.9.0R-exts talks about it a bit here.