aboutsummaryrefslogtreecommitdiff
path: root/lib/ubsan/ubsan_flags.inc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ubsan/ubsan_flags.inc')
-rw-r--r--lib/ubsan/ubsan_flags.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ubsan/ubsan_flags.inc b/lib/ubsan/ubsan_flags.inc
index 9ca31d13a9b6..d171a98e1730 100644
--- a/lib/ubsan/ubsan_flags.inc
+++ b/lib/ubsan/ubsan_flags.inc
@@ -22,4 +22,5 @@ UBSAN_FLAG(bool, halt_on_error, false,
UBSAN_FLAG(bool, print_stacktrace, false,
"Include full stacktrace into an error report")
UBSAN_FLAG(const char *, suppressions, "", "Suppressions file name.")
-
+UBSAN_FLAG(bool, report_error_type, false,
+ "Print specific error type instead of 'undefined-behavior' in summary.")