build/windows/makefiles/compile.make

changeset 492
ff0979201b06
parent 435
a61af66fc99e
     1.1 --- a/build/windows/makefiles/compile.make	Wed Feb 27 13:55:58 2008 -0500
     1.2 +++ b/build/windows/makefiles/compile.make	Mon Mar 03 14:47:02 2008 -0500
     1.3 @@ -44,6 +44,10 @@
     1.4  #   /Od       Disable all optimizations
     1.5  #
     1.6  # NOTE: Normally following any of the above with a '-' will turn off that flag
     1.7 +#
     1.8 +# 6655385: For VS2003/2005 we now specify /Oy- (disable frame pointer
     1.9 +# omission.)  This has little to no effect on performance while vastly
    1.10 +# improving the quality of crash log stack traces involving jvm.dll.
    1.11  
    1.12  # These are always used in all compiles
    1.13  CPP_FLAGS=/nologo /W3 /WX
    1.14 @@ -141,14 +145,14 @@
    1.15  !endif
    1.16  
    1.17  !if "$(COMPILER_NAME)" == "VS2003"
    1.18 -PRODUCT_OPT_OPTION   = /O2
    1.19 -FASTDEBUG_OPT_OPTION = /O2
    1.20 +PRODUCT_OPT_OPTION   = /O2 /Oy-
    1.21 +FASTDEBUG_OPT_OPTION = /O2 /Oy-
    1.22  DEBUG_OPT_OPTION     = /Od
    1.23  !endif
    1.24  
    1.25  !if "$(COMPILER_NAME)" == "VS2005"
    1.26 -PRODUCT_OPT_OPTION   = /O2
    1.27 -FASTDEBUG_OPT_OPTION = /O2
    1.28 +PRODUCT_OPT_OPTION   = /O2 /Oy-
    1.29 +FASTDEBUG_OPT_OPTION = /O2 /Oy-
    1.30  DEBUG_OPT_OPTION     = /Od
    1.31  GX_OPTION = /EHsc
    1.32  # This VS2005 compiler has /GS as a default and requires bufferoverflowU.lib 
    1.33 @@ -165,8 +169,8 @@
    1.34  
    1.35  # Compile for space above time.
    1.36  !if "$(Variant)" == "kernel"
    1.37 -PRODUCT_OPT_OPTION   = /O1
    1.38 -FASTDEBUG_OPT_OPTION = /O1
    1.39 +PRODUCT_OPT_OPTION   = /O1 /Oy-
    1.40 +FASTDEBUG_OPT_OPTION = /O1 /Oy-
    1.41  DEBUG_OPT_OPTION     = /Od
    1.42  !endif
    1.43  

mercurial