@ -582,6 +582,14 @@ Address Sanitizer support llvm-symbolizer is required to be on the PATH.
@@ -582,6 +582,14 @@ Address Sanitizer support llvm-symbolizer is required to be on the PATH.
ThisoptionisonlysupportedonmacOSversionsofclang.
''')
g.add_option('--ubsan',
action='store_true',
help='''Build using the gcc undefined behaviour sanitizer''')
g.add_option('--ubsan-abort',
action='store_true',
help='''Build using the gcc undefined behaviour sanitizer and abort on error''')