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

On Fri, Nov 14, 2014 at 2:18 PM, Eric Fiselier <[email protected]> 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
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to