[llvm-commits] [test-suite] r59685 - /test-suite/trunk/TEST.dbgopt.Makefile
Devang Patel
dpatel at apple.com
Wed Nov 19 16:56:24 PST 2008
Author: dpatel
Date: Wed Nov 19 18:56:24 2008
New Revision: 59685
URL: http://llvm.org/viewvc/llvm-project?rev=59685&view=rev
Log:
Add -strip-debug on the command line to remove debug info at the end.
Modified:
test-suite/trunk/TEST.dbgopt.Makefile
Modified: test-suite/trunk/TEST.dbgopt.Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/TEST.dbgopt.Makefile?rev=59685&r1=59684&r2=59685&view=diff
==============================================================================
--- test-suite/trunk/TEST.dbgopt.Makefile (original)
+++ test-suite/trunk/TEST.dbgopt.Makefile Wed Nov 19 18:56:24 2008
@@ -8,7 +8,7 @@
# is influencing the optimizer.
#
# $ opt input.bc -strip-nondebug -strip-debug -std-compile-output -strip -o first.bc
-# $ opt input.bc -strip-nondebug -std-compile-output -strip -o second.bc
+# $ opt input.bc -strip-nondebug -std-compile-output -strip-debug -strip -o second.bc
#
##===----------------------------------------------------------------------===##
@@ -21,7 +21,7 @@
$(LLVMGXX) $*.cpp -g --emit-llvm -c -o Output/$*.bc
$(LOPT) Output/$*.bc -strip-nondebug -strip-debug -std-compile-opts -strip -f -o Output/$*.t.bc
$(LDIS) Output/$*.t.bc -f -o Output/$*.first.ll
- $(LOPT) Output/$*.bc -strip-nondebug -std-compile-opts -strip -f -o Output/$*.t.bc
+ $(LOPT) Output/$*.bc -strip-nondebug -std-compile-opts -strip-debug -strip -f -o Output/$*.t.bc
$(LDIS) Output/$*.t.bc -f -o Output/$*.second.ll
@-if diff Output/$*.first.ll Output/$*.second.ll > Output/$*.diff; then \
echo "--------- TEST-PASS: $*"; \
@@ -34,7 +34,7 @@
$(LLVMGCC) $*.c -g --emit-llvm -c -o Output/$*.bc
$(LOPT) Output/$*.bc -strip-nondebug -strip-debug -std-compile-opts -strip -f -o Output/$*.t.bc
$(LDIS) Output/$*.t.bc -f -o Output/$*.first.ll
- $(LOPT) Output/$*.bc -strip-nondebug -std-compile-opts -strip -f -o Output/$*.t.bc
+ $(LOPT) Output/$*.bc -strip-nondebug -std-compile-opts -strip-debug -strip -f -o Output/$*.t.bc
$(LDIS) Output/$*.t.bc -f -o Output/$*.second.ll
@-if diff Output/$*.first.ll Output/$*.second.ll > Output/$*.diff; then \
echo "--------- TEST-PASS: $*"; \
More information about the llvm-commits
mailing list