[llvm-commits] [compiler-rt] r154589 - /compiler-rt/trunk/lib/asan/output_tests/test_output.sh
Alexey Samsonov
samsonov at google.com
Thu Apr 12 06:31:13 PDT 2012
Author: samsonov
Date: Thu Apr 12 08:31:13 2012
New Revision: 154589
URL: http://llvm.org/viewvc/llvm-project?rev=154589&view=rev
Log:
[asan] minor fix: pass flag -g to output tests as a part of CXXFLAGS
Modified:
compiler-rt/trunk/lib/asan/output_tests/test_output.sh
Modified: compiler-rt/trunk/lib/asan/output_tests/test_output.sh
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/output_tests/test_output.sh?rev=154589&r1=154588&r2=154589&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/output_tests/test_output.sh (original)
+++ compiler-rt/trunk/lib/asan/output_tests/test_output.sh Thu Apr 12 08:31:13 2012
@@ -6,7 +6,7 @@
CXX=$1
CC=$2
FILE_CHECK=$3
-CXXFLAGS="-mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls"
+CXXFLAGS="-mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -g"
SYMBOLIZER=../scripts/asan_symbolize.py
TMP_ASAN_REPORT=asan_report.tmp
@@ -51,10 +51,10 @@
exe=$c.$b.O$O
so=$c.$b.O$O-so.so
echo testing $exe
- build_command="$CXX $CXXFLAGS -g -m$b -faddress-sanitizer -O$O $c.cc -o $exe"
+ build_command="$CXX $CXXFLAGS -m$b -faddress-sanitizer -O$O $c.cc -o $exe"
[ "$DEBUG" == "1" ] && echo $build_command
$build_command
- [ -e "$c_so.cc" ] && $CXX $CXXFLAGS -g -m$b -faddress-sanitizer -O$O $c_so.cc -fPIC -shared -o $so
+ [ -e "$c_so.cc" ] && $CXX $CXXFLAGS -m$b -faddress-sanitizer -O$O $c_so.cc -fPIC -shared -o $so
run_program $exe
# Check common expected lines for OS.
$FILE_CHECK $c.cc --check-prefix="Check-Common" < $TMP_ASAN_REPORT
More information about the llvm-commits
mailing list