diff options
author | David Srbecky <dsrbecky@google.com> | 2016-03-11 14:25:00 +0000 |
---|---|---|
committer | David Srbecky <dsrbecky@google.com> | 2016-03-11 16:18:50 +0000 |
commit | 252fa90d25eb3fa9c4189304d021533c9657fea7 (patch) | |
tree | 3fd03332a888b8e3902dbdc1f0c9f830a55ecc8d /compiler/optimizing/graph_visualizer.cc | |
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
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions