brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · a4d0e61 Raw
29 lines · plain
1//===-- ubsan_flags.inc -----------------------------------------*- C++ -*-===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8//9// UBSan runtime flags.10//11//===----------------------------------------------------------------------===//12#ifndef UBSAN_FLAG13# error "Define UBSAN_FLAG prior to including this file!"14#endif15 16// UBSAN_FLAG(Type, Name, DefaultValue, Description)17// See COMMON_FLAG in sanitizer_flags.inc for more details.18 19UBSAN_FLAG(bool, halt_on_error, false,20           "Crash the program after printing the first error report")21UBSAN_FLAG(bool, print_stacktrace, false,22           "Include full stacktrace into an error report")23UBSAN_FLAG(const char *, suppressions, "", "Suppressions file name.")24UBSAN_FLAG(bool, report_error_type, false,25        "Print specific error type instead of 'undefined-behavior' in summary.")26UBSAN_FLAG(bool, silence_unsigned_overflow, false,27        "Do not print non-fatal error reports for unsigned integer overflow. "28        "Used to provide fuzzing signal without blowing up logs.")29