|
Include metadata in AOT to expand inline frames in stack traces and provide line numbers.
Also fix stack trace collection to always include invisible frames. It can happen that a visible function is inlined into an invisible function, and we don't expand inlined frames until we print a stack trace.
dart2js product x64:
compile time: 12.459s
VMIsolate(CodeSize): 152292
Isolate(CodeSize): 3343117
ReadOnlyData(CodeSize): 3728928
Instructions(CodeSize): 8677600
Total(CodeSize): 15901937
->
compile time: 14.195s (+13%)
VMIsolate(CodeSize): 174034
Isolate(CodeSize): 3892418 (+16%)
ReadOnlyData(CodeSize): 5036320 (+35%)
Instructions(CodeSize): 8682624
Total(CodeSize): 17785396 (+12%)
R=asiva@google.com
Committed: https://github.com/dart-lang/sdk/commit/cfe5e5f075431641642a8e3be2fbd4414eaca1fd
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+237 lines, -205 lines) |
Patch |
|
A + |
runtime/tests/vm/dart/optimized_stacktrace_line_and_column_test.dart
|
View
|
1
2
3
4
|
4 chunks |
+12 lines, -10 lines |
0 comments
|
Download
|
|
A + |
runtime/tests/vm/dart/optimized_stacktrace_line_test.dart
|
View
|
1
2
3
4
|
4 chunks |
+12 lines, -10 lines |
0 comments
|
Download
|
|
D |
runtime/tests/vm/dart/optimized_stacktrace_test.dart
|
View
|
|
1 chunk |
+0 lines, -78 lines |
0 comments
|
Download
|
|
M |
runtime/tests/vm/vm.status
|
View
|
1
2
3
4
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
runtime/vm/clustered_snapshot.cc
|
View
|
1
2
3
4
|
5 chunks |
+8 lines, -10 lines |
0 comments
|
Download
|
|
M |
runtime/vm/code_descriptors.h
|
View
|
1
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
|
M |
runtime/vm/code_descriptors.cc
|
View
|
1
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_compiler.cc
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object.h
|
View
|
1
2
3
4
|
3 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object.cc
|
View
|
1
2
3
4
|
8 chunks |
+66 lines, -23 lines |
0 comments
|
Download
|
|
M |
runtime/vm/precompiler.h
|
View
|
|
2 chunks |
+22 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/precompiler.cc
|
View
|
|
4 chunks |
+57 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/raw_object.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stack_trace.h
|
View
|
1
2
3
|
1 chunk |
+9 lines, -13 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stack_trace.cc
|
View
|
1
2
3
|
4 chunks |
+8 lines, -14 lines |
0 comments
|
Download
|
|
M |
tests/corelib/corelib.status
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
tests/language/full_stacktrace1_test.dart
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
tests/language/full_stacktrace2_test.dart
|
View
|
1
2
3
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
tests/language/full_stacktrace3_test.dart
|
View
|
1
2
3
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
tests/language/language.status
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
|
M |
tests/standalone/standalone.status
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
Total messages: 11 (6 generated)
|