Description[profiler, linux/android] Check whether a sample is ARM or Thumb code to decide which FP register to load.
Android and Linux use R11 as the FP register in ARM code and R7 in Thumb code. We've been assuming all code in our process is ARM and reading R11 as FP. This made our stack walks fail if they started in Thumb code.
This issue does not arise on iOS, because its ABI uses R7 as the FP register for both ARM and Thumb code.
R=zra@google.com
Committed: https://github.com/dart-lang/sdk/commit/daa38a2ea21d290e45adb509dc60418b22ec7eba
Patch Set 1 #
Total comments: 4
Patch Set 2 : explicit compare #
Messages
Total messages: 7 (3 generated)
|