add debug info when compiling sanitizer tests
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@222051 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fd2848735a
commit
1383dc5bd0
@ -435,7 +435,7 @@ class Configuration(object):
|
||||
llvm_symbolizer = lit.util.which('llvm-symbolizer',
|
||||
symbolizer_search_paths)
|
||||
# Setup the sanitizer compile flags
|
||||
self.compile_flags += ['-fno-omit-frame-pointer']
|
||||
self.compile_flags += ['-g', '-fno-omit-frame-pointer']
|
||||
if sys.platform.startswith('linux'):
|
||||
self.link_flags += ['-ldl']
|
||||
if san == 'Address':
|
||||
|
Loading…
x
Reference in New Issue
Block a user