diff options
author | Yi Kong <yikong@google.com> | 2019-03-27 22:44:31 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-03-27 22:44:31 +0000 |
commit | edd7fdd89145cb47822c9d26321f38068edd108f (patch) | |
tree | 3bb9e0d30f9b6d18d44d6a4d4970a626a94f73ca /cc | |
parent | 5c45f684dd1c5e4a05ca14fe7d0a0f1aabd54506 (diff) | |
parent | 69c1ed91d81eed9a24b9701757eb890ab4b7c237 (diff) | |
download | build_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.go | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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", |