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

David Blaikie dblaikie at gmail.com
Fri Nov 14 14:33:58 PST 2014


Why -g? sanitizers should enable -gmlt by default which should suffice

On Fri, Nov 14, 2014 at 2:18 PM, Eric Fiselier <eric at efcs.ca> wrote:

> 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':
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141114/5bada376/attachment.html>


More information about the cfe-commits mailing list