[libcxx] r222051 - add debug info when compiling sanitizer tests

Eric Fiselier eric at efcs.ca
Fri Nov 14 14:18:03 PST 2014


Author: ericwf
Date: Fri Nov 14 16:18:03 2014
New Revision: 222051

URL: http://llvm.org/viewvc/llvm-project?rev=222051&view=rev
Log:
add debug info when compiling sanitizer tests

Modified:
    libcxx/trunk/test/lit.cfg

Modified: libcxx/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/lit.cfg?rev=222051&r1=222050&r2=222051&view=diff
==============================================================================
--- libcxx/trunk/test/lit.cfg (original)
+++ libcxx/trunk/test/lit.cfg Fri Nov 14 16:18:03 2014
@@ -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':





More information about the cfe-commits mailing list