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:
commit
482031602a
1 changed files with 3 additions and 1 deletions
|
@ -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{
|
||||||
|
|
Loading…
Reference in a new issue