[libcxxabi] r222053 - Add -g -fno-omit-frame-pointer when compiling tests with sanitizers

Eric Fiselier eric at efcs.ca
Fri Nov 14 14:27:44 PST 2014


Author: ericwf
Date: Fri Nov 14 16:27:43 2014
New Revision: 222053

URL: http://llvm.org/viewvc/llvm-project?rev=222053&view=rev
Log:
Add -g -fno-omit-frame-pointer when compiling tests with sanitizers

Modified:
    libcxxabi/trunk/test/lit.cfg

Modified: libcxxabi/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/test/lit.cfg?rev=222053&r1=222052&r2=222053&view=diff
==============================================================================
--- libcxxabi/trunk/test/lit.cfg (original)
+++ libcxxabi/trunk/test/lit.cfg Fri Nov 14 16:27:43 2014
@@ -238,6 +238,7 @@ san = lit_config.params.get('llvm_use_sa
 if san is None:
     san = getattr(config, 'llvm_use_sanitizer', None)
 if san:
+    compile_flags += ['-g', '-fno-omit-frame-pointer']
     if sys.platform.startswith('linux'):
         link_flags += ['-ldl']
     if san == 'Address':





More information about the cfe-commits mailing list