Merge "Move "-fdebug-info-for-profiling" flag to device binaries only" am: 8a8cebb01f am: 985e8bcbfc am: d22b2e11c2

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1912716

Change-Id: Ib04258a7402fc162e44d5afb08e19874a97381e3
This commit is contained in:
Yi Kong 2021-12-07 18:08:51 +00:00 committed by Automerger Merge Worker
commit 482031602a

View file

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