Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Issue 2762313003: Dwarf tools interpret line number table pc's as start boundries instead of end boundries. (Closed)

Created:
3 years, 9 months ago by rmacnak
Modified:
3 years, 9 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Dwarf tools interpret line number table pc's as start boundries instead of end boundries. Put kNoSourcePosition on line 0 instead of line 1. Closes #28785 R=fschneider@google.com, johnmccutchan@google.com Committed: https://github.com/dart-lang/sdk/commit/7589236f45c23e8397cfe9be6f4031d61a14c702

Patch Set 1 #

Patch Set 2 : test #

Total comments: 5

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -11 lines) Patch
M runtime/vm/dart.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 1 chunk +0 lines, -5 lines 0 comments Download
M runtime/vm/dwarf.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M runtime/vm/object.cc View 1 chunk +3 lines, -0 lines 0 comments Download
A tests/standalone/dwarf_stack_trace_test.dart View 1 2 1 chunk +107 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
rmacnak
3 years, 9 months ago (2017-03-21 20:41:11 UTC) #3
Cutch
LGTM. Anyway to write tests for this stuff?
3 years, 9 months ago (2017-03-21 20:44:25 UTC) #4
Florian Schneider
lgtm
3 years, 9 months ago (2017-03-21 20:47:50 UTC) #5
rmacnak
On 2017/03/21 20:44:25, Cutch wrote: > LGTM. Anyway to write tests for this stuff? Added ...
3 years, 9 months ago (2017-03-22 00:13:24 UTC) #6
Cutch
LGTM w/c https://codereview.chromium.org/2762313003/diff/20001/tests/standalone/dwarf_stack_trace_test.dart File tests/standalone/dwarf_stack_trace_test.dart (right): https://codereview.chromium.org/2762313003/diff/20001/tests/standalone/dwarf_stack_trace_test.dart#newcode38 tests/standalone/dwarf_stack_trace_test.dart:38: print("Skipping test because 'file' is not present"); ...
3 years, 9 months ago (2017-03-22 14:04:37 UTC) #8
rmacnak
Updated the test to fail if a Linux system lacks file or addr2line. https://codereview.chromium.org/2762313003/diff/20001/tests/standalone/dwarf_stack_trace_test.dart File ...
3 years, 9 months ago (2017-03-22 17:28:15 UTC) #9
rmacnak
3 years, 9 months ago (2017-03-22 17:30:13 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
7589236f45c23e8397cfe9be6f4031d61a14c702.

Powered by Google App Engine
This is Rietveld 408576698