[llvm-commits] CVS: llvm/Makefile.rules

Reid Spencer reid at x10sys.com
Fri Aug 25 12:55:13 PDT 2006



Changes in directory llvm:

Makefile.rules updated: 1.396 -> 1.397
---
Log message:

For PR797: http://llvm.org/PR797 :
Final commit for this bug. This removes the last EH holdouts in LLVM
and turns off exception support by using the -fno-exceptions option. This 
leads to the following reduction in library and executable sizes:
                DEBUG BUILD                RELEASE BUILD
         before     after   delta     before   after    delta
lib    162,328K  157,616K   4,712    17,864K  16,416K  1,448K
bin    571,444K  557,156K  14,288    63,296K   56,996K 6,300K

Debug   Improvement: 19,000K (2.59%)
Release Improvement:  7,748K (9.55%)


---
Diffs of the changes:  (+5 -5)

 Makefile.rules |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)


Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.396 llvm/Makefile.rules:1.397
--- llvm/Makefile.rules:1.396	Thu Aug 24 17:41:20 2006
+++ llvm/Makefile.rules	Fri Aug 25 14:54:53 2006
@@ -206,11 +206,6 @@
   OPTIMIZE_OPTION := -O2
 endif
 
-# IF REQUIRES_EH=1 is specified then don't disable exceptions
-#ifndef REQUIRES_EH
-#  CXX.Flags += -fno-exceptions
-#endif
-
 ifdef ENABLE_PROFILING
   BuildMode := Profile
   CXX.Flags := $(OPTIMIZE_OPTION) -pg -g
@@ -243,6 +238,11 @@
   endif
 endif
 
+# IF REQUIRES_EH=1 is specified then don't disable exceptions
+#ifndef REQUIRES_EH
+#  CXX.Flags += -fno-exceptions
+#endif
+
 # If DISABLE_ASSERTIONS=1 is specified (make command line or configured),
 # then disable assertions by defining the appropriate preprocessor symbols.
 ifdef DISABLE_ASSERTIONS






More information about the llvm-commits mailing list