Merge "Move "-fdebug-info-for-profiling" flag to device binaries only"

This commit is contained in:
Yi Kong 2021-12-07 17:17:58 +00:00 committed by Gerrit Code Review
commit 8a8cebb01f

View file

@ -46,7 +46,6 @@ var (
"-O2",
"-g",
"-fdebug-info-for-profiling",
"-fno-strict-aliasing",
@ -125,6 +124,9 @@ var (
"-Werror=sequence-point",
"-Werror=format-security",
"-nostdlibinc",
// Emit additional debug info for AutoFDO
"-fdebug-info-for-profiling",
}
deviceGlobalCppflags = []string{