Move "-fdebug-info-for-profiling" flag to device binaries only
We do not profile host binaries. Moving to device binaries only helps saving some disk space as well as shortening build time. Test: presubmit Change-Id: I09afb106d0e2ee250b3bc75d9dfd9cb8b6552c97
This commit is contained in:
@@ -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{
|
||||
|
Reference in New Issue
Block a user