commit | 252fa90d25eb3fa9c4189304d021533c9657fea7 | [log] [tgz] |
---|---|---|
author | David Srbecky <dsrbecky@google.com> | Fri Mar 11 14:25:00 2016 +0000 |
committer | David Srbecky <dsrbecky@google.com> | Fri Mar 11 16:18:50 2016 +0000 |
tree | 3fd03332a888b8e3902dbdc1f0c9f830a55ecc8d | |
parent | 60e10c8564f47de0b7f29b26d040c591d5a396b5 [diff] |
DWARF: Compensate for compiler's off-by-one instruction. The compiler generates stackmaps with PC value which is *after* the instruction rather PC of the instruction itself. This causes trouble when generating native line number mapping since the branch instruction itself will not be mapped, and consequently we get incorrect line number in backtraces. Add code to compensate for this. See the in-code comment for more details. Change-Id: I72c992e6d08a767f314290d562421b251ae60732