forked from OSchip/llvm-project
parent
42a0730c42
commit
67ac709e4c
|
@ -558,6 +558,7 @@ class Configuration(object):
|
|||
'-fno-sanitize=vptr,function',
|
||||
'-fno-sanitize-recover']
|
||||
self.cxx.compile_flags += ['-O3']
|
||||
self.env['UBSAN_OPTIONS'] = 'print_stacktrace=1'
|
||||
self.config.available_features.add('ubsan')
|
||||
elif san == 'Thread':
|
||||
self.cxx.flags += ['-fsanitize=thread']
|
||||
|
|
Loading…
Reference in New Issue