Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bad stack traces on Android devices when using LLD
Issue: android/ndk#1196 This is a port of the fix from NDK master: https://android-review.googlesource.com/c/platform/ndk/+/1350672 Quoting description from the original fix: > The unwinder used for crash handling on Android devices prior to API 29 cannot > correctly unwind binaries built with `-Wl,--rosegment`. This flag is enabled by > default when using LLD, so if using LLD and targeting devices older than API 29 > you must pass `-Wl,--no-rosegment` when linking for correct stack traces in logcat. ref:3e66526bf1f6bd39b04f067de173c9ca090e5f13
- Loading branch information