commit | 203e6f4115519664e4a3699d1066ef83205c79fa | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Tue Dec 07 02:36:52 2021 +0800 |
committer | Yi Kong <yikong@google.com> | Tue Dec 07 02:43:20 2021 +0800 |
tree | 6e708158e02d0626fbabe1d1bb51a2d89dfbdc61 | |
parent | a4fc08d20412d079d680f1a607cf6b102f97b2c8 [diff] [blame] |
Add "-Z debug-info-for-profiling" flag for AutoFDO Test: presubmit Bug: 195134194 Change-Id: I0133ce99e2d5f415e553f7ae8e2ff93c739d6a32
diff --git a/rust/config/global.go b/rust/config/global.go index 78c8dae..23384e5 100644 --- a/rust/config/global.go +++ b/rust/config/global.go
@@ -55,6 +55,8 @@ deviceGlobalRustFlags = []string{ "-C panic=abort", "-Z link-native-libraries=no", + // Generate additional debug info for AutoFDO + "-Z debug-info-for-profiling", } deviceGlobalLinkFlags = []string{