Add "-Z debug-info-for-profiling" flag for AutoFDO

Test: presubmit
Bug: 195134194
Change-Id: I0133ce99e2d5f415e553f7ae8e2ff93c739d6a32
This commit is contained in:
Yi Kong 2021-12-07 02:36:52 +08:00
parent a4fc08d204
commit 203e6f4115

View file

@ -55,6 +55,8 @@ var (
deviceGlobalRustFlags = []string{
"-C panic=abort",
"-Z link-native-libraries=no",
// Generate additional debug info for AutoFDO
"-Z debug-info-for-profiling",
}
deviceGlobalLinkFlags = []string{