DescriptionDon't omit frame pointers in profiling Android GN builds.
This CL makes sure that frame pointers (used for fast stack unwinding)
are not omitted when enable_profiling is true. There are two changes:
1. Don't add -fomit-frame-pointer flag (Android-specific change).
2. Add -fno-omit-frame-pointer flag even in debug builds. This is needed
for Android where debug builds are optimized too (-Os).
BUG=602701
Committed: https://crrev.com/14430a4de781aca8e67f6ec7b8893647d7ee26d9
Cr-Commit-Position: refs/heads/master@{#393320}
Patch Set 1 #Patch Set 2 : Always add -fno-omit-frame-pointer #Patch Set 3 : rebase #Messages
Total messages: 14 (7 generated)
|