<div dir="ltr">Why -g? sanitizers should enable -gmlt by default which should suffice</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 14, 2014 at 2:18 PM, Eric Fiselier <span dir="ltr"><<a href="mailto:eric@efcs.ca" target="_blank">eric@efcs.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: ericwf<br>
Date: Fri Nov 14 16:18:03 2014<br>
New Revision: 222051<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=222051&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=222051&view=rev</a><br>
Log:<br>
add debug info when compiling sanitizer tests<br>
<br>
Modified:<br>
    libcxx/trunk/test/lit.cfg<br>
<br>
Modified: libcxx/trunk/test/lit.cfg<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/lit.cfg?rev=222051&r1=222050&r2=222051&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/lit.cfg?rev=222051&r1=222050&r2=222051&view=diff</a><br>
==============================================================================<br>
--- libcxx/trunk/test/lit.cfg (original)<br>
+++ libcxx/trunk/test/lit.cfg Fri Nov 14 16:18:03 2014<br>
@@ -435,7 +435,7 @@ class Configuration(object):<br>
             llvm_symbolizer = lit.util.which('llvm-symbolizer',<br>
                                              symbolizer_search_paths)<br>
             # Setup the sanitizer compile flags<br>
-            self.compile_flags += ['-fno-omit-frame-pointer']<br>
+            self.compile_flags += ['-g', '-fno-omit-frame-pointer']<br>
             if sys.platform.startswith('linux'):<br>
                 self.link_flags += ['-ldl']<br>
             if san == 'Address':<br>
<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</blockquote></div><br></div>