[compiler-rt] [rtsan] Introduce halt_on_error flag (PR #109832)
Chris Apple via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 24 10:08:32 PDT 2024
================
@@ -16,5 +16,4 @@
// RTSAN_FLAG(Type, Name, DefaultValue, Description)
// See COMMON_FLAG in sanitizer_flags.inc for more details.
-// Example flag, until we get a real one
-// RTSAN_FLAG(bool, halt_on_error, true, "If true, halt the program on error")
+RTSAN_FLAG(bool, halt_on_error, true, "Exit after first reported error.")
----------------
cjappl wrote:
My preference for this default is to remain true, but I'm open for discussion on the matter.
You can grep for this flag name and see the defaults for the other sanitizers, each takes their own approach
https://github.com/llvm/llvm-project/pull/109832
More information about the llvm-commits
mailing list