aboutsummaryrefslogtreecommitdiffstats
path: root/cc
diff options
context:
space:
mode:
authorYi Kong <yikong@google.com>2019-03-27 22:44:31 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-03-27 22:44:31 +0000
commitedd7fdd89145cb47822c9d26321f38068edd108f (patch)
tree3bb9e0d30f9b6d18d44d6a4d4970a626a94f73ca /cc
parent5c45f684dd1c5e4a05ca14fe7d0a0f1aabd54506 (diff)
parent69c1ed91d81eed9a24b9701757eb890ab4b7c237 (diff)
downloadbuild_soong-edd7fdd89145cb47822c9d26321f38068edd108f.tar.gz
build_soong-edd7fdd89145cb47822c9d26321f38068edd108f.tar.bz2
build_soong-edd7fdd89145cb47822c9d26321f38068edd108f.zip
Merge "Turn on new pass manager for PGO projects"
Diffstat (limited to 'cc')
-rw-r--r--cc/pgo.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/cc/pgo.go b/cc/pgo.go
index 9363916a..7334ea26 100644
--- a/cc/pgo.go
+++ b/cc/pgo.go
@@ -27,8 +27,11 @@ import (
var (
// Add flags to ignore warnings that profiles are old or missing for
- // some functions
- profileUseOtherFlags = []string{"-Wno-backend-plugin"}
+ // some functions, and turn on the experimental new pass manager.
+ profileUseOtherFlags = []string{
+ "-Wno-backend-plugin",
+ "-fexperimental-new-pass-manager",
+ }
globalPgoProfileProjects = []string{
"toolchain/pgo-profiles",