opt on try: -b o -p win32,win64 -u none -t none
authorDavid Major <dmajor@mozilla.com>
Thu, 01 Jun 2017 15:49:59 -0400
changeset 1144918 62f87acf4fbc7894a0d33a386d2c1800f15b0489
parent 1144784 0e9853e31da9848ab638bdd0df4eb734a5ebc232
child 1238785 54753002e509fbbe4bc23d8fb5aafa7d5e04aaf6
push id194635
push userdmajor@mozilla.com
push dateThu, 01 Jun 2017 19:49:49 +0000
treeherdertry@62f87acf4fbc [default view] [failures only]
opt on try: -b o -p win32,win64 -u none -t none
--- a/build/mozconfig.common.override
+++ b/build/mozconfig.common.override
@@ -4,8 +4,10 @@
 # Common mozconfig for all users
 # Add options to this file that will be inherited by all in-tree mozconfigs.
 # This file is included at the *end* of the mozconfigs, and so may be used
 # to override anything done previously.
 # The common expected usage is for try builds with nondefault options.
+mk_add_options MOZ_PGO=1
\ No newline at end of file
--- a/old-configure.in
+++ b/old-configure.in
@@ -997,16 +997,18 @@ case "$target" in
         dnl VS2013+ supports -Gw for better linker optimizations.
         dnl http://blogs.msdn.com/b/vcblog/archive/2013/09/11/introducing-gw-compiler-switch.aspx
         dnl Disabled on ASan because it causes false-positive ODR violations.
         if test -z "$MOZ_ASAN"; then
             CFLAGS="$CFLAGS -Gw"
             CXXFLAGS="$CXXFLAGS -Gw"
+        CFLAGS="$CFLAGS -d2SSAOptimizer+"
+        CXXFLAGS="$CXXFLAGS -d2SSAOptimizer+"
         # khuey says we can safely ignore MSVC warning C4251
         # MSVC warning C4244 (implicit type conversion may lose data) warns
         # and requires workarounds for perfectly valid code.  Also, GCC/clang
         # don't warn about it by default. So for consistency/sanity, we turn
         # it off on MSVC, too.
         # MSVC warning C4267 warns for narrowing type conversions from size_t
         # to 32-bit integer types on 64-bit platforms.  Since this is virtually
         # the same thing as C4244, we disable C4267, too.