Back to build
Raw log | Switch to full mode | Login

/===========================================================================\ | dart2js/sourcemaps/stacktrace_test broke (Pass -> Timeout, expected Pass) | \===========================================================================/ --- Command "vm" (took 04:00.000908s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart --enable_asserts --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace_test.dart exit code: -15 diagnostics: Process list including children: [20060] Trying to capture stack trace for pid 20060 PID 20060 - process TID 20060: #0 0x00007fdd07c2f360 pthread_cond_wait@@GLIBC_2.3.2 #1 0x000055df6b8908c8 dart::Monitor::WaitMicros(long) #2 0x000055df6bab2eca Dart_RunLoop #3 0x000055df6b5689ee dart::bin::RunMainIsolate(char const*, dart::bin::CommandLineOptions*) #4 0x000055df6b569890 dart::bin::main(int, char**) #5 0x000055df6b56a1a9 main #6 0x00007fdd07367830 __libc_start_main #7 0x000055df6b568029 _start TID 20061: #0 0x00007fdd0744ea13 epoll_wait #1 0x000055df6b5713c5 dart::bin::EventHandlerImplementation::Poll(unsigned long) #2 0x000055df6b58ff25 dart::bin::ThreadStart(void*) #3 0x00007fdd07c296ba start_thread #4 0x00007fdd0744e41d __clone TID 20063: #0 0x00007fdd07c2f360 pthread_cond_wait@@GLIBC_2.3.2 #1 0x000055df6b8908c8 dart::Monitor::WaitMicros(long) #2 0x000055df6ba6fb3a dart::BackgroundCompiler::Run() #3 0x000055df6b923207 dart::ThreadPool::Worker::Loop() #4 0x000055df6b9230c2 dart::ThreadPool::Worker::Main(unsigned long) #5 0x000055df6b8901b9 dart::ThreadStart(void*) #6 0x00007fdd07c296ba start_thread #7 0x00007fdd0744e41d __clone TID 20067: #0 0x00007fdd07c2f360 pthread_cond_wait@@GLIBC_2.3.2 #1 0x000055df6b8908c8 dart::Monitor::WaitMicros(long) #2 0x000055df6ba6fb3a dart::BackgroundCompiler::Run() #3 0x000055df6b923207 dart::ThreadPool::Worker::Loop() #4 0x000055df6b9230c2 dart::ThreadPool::Worker::Main(unsigned long) #5 0x000055df6b8901b9 dart::ThreadStart(void*) #6 0x00007fdd07c296ba start_thread #7 0x00007fdd0744e41d __clone TID 20088: #0 0x00007fdd07c2f360 pthread_cond_wait@@GLIBC_2.3.2 #1 0x000055df6b8908c8 dart::Monitor::WaitMicros(long) #2 0x000055df6ba6fb3a dart::BackgroundCompiler::Run() #3 0x000055df6b923207 dart::ThreadPool::Worker::Loop() #4 0x000055df6b9230c2 dart::ThreadPool::Worker::Main(unsigned long) #5 0x000055df6b8901b9 dart::ThreadStart(void*) #6 0x00007fdd07c296ba start_thread #7 0x00007fdd0744e41d __clone TID 20089: #0 0x00007fdcf860316e TID 20135: #0 0x00007fdd07c2f360 pthread_cond_wait@@GLIBC_2.3.2 #1 0x000055df6b590608 dart::bin::Monitor::WaitMicros(long) #2 0x000055df6b57798a dart::bin::ExitCodeHandler::ExitCodeHandlerEntry(unsigned long) #3 0x000055df6b58ff25 dart::bin::ThreadStart(void*) #4 0x00007fdd07c296ba start_thread #5 0x00007fdd0744e41d __clone TID 21283: #0 0x00007fdd07c2f709 pthread_cond_timedwait@@GLIBC_2.3.2 #1 0x000055df6b8908b0 dart::Monitor::WaitMicros(long) #2 0x000055df6b92328e dart::ThreadPool::Worker::Loop() #3 0x000055df6b9230c2 dart::ThreadPool::Worker::Main(unsigned long) #4 0x000055df6b8901b9 dart::ThreadStart(void*) #5 0x00007fdd07c296ba start_thread #6 0x00007fdd0744e41d __clone eu-stack: dwfl_thread_getframes tid 20089 at 0x7fdcf860316e in /memfd:dart_vm (deleted): Callback returned failure stdout: unittest-suite-wait-for-done ---------------------------------------------------------------- Checking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/throw_in_async.dart ---------------------------------------------------------------- // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. main() { // This call is no longer on the stack when the error is thrown. test(); } @pragma('dart2js:noInline') test() async { await null; throw '>ExceptionMarker<'; } ---from kernel------------------------------------------------------ Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testXZRYAE/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testXZRYAE/input.dart Hint: When run on the command-line, the compiled output might require a preamble file located in: <sdk>/lib/_internal/js_runtime/lib/preambles. Compiled 7,396,858 characters Dart to 113,818 characters JavaScript in 13.6 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testXZRYAE/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testXZRYAE/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testXZRYAE/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testXZRYAE'. ---from kernel with CFE constants----------------------------------- Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testBCGUZO/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testBCGUZO/input.dart --enable-experiment=constant-update-2018 Hint: When run on the command-line, the compiled output might require a preamble file located in: <sdk>/lib/_internal/js_runtime/lib/preambles. Compiled 4,385,097 characters Dart to 113,326 characters JavaScript in 20.3 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testBCGUZO/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testBCGUZO/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testBCGUZO/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testBCGUZO'. ---------------------------------------------------------------- Checking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/null_interceptor_field.dart ---------------------------------------------------------------- // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. class MyType { get length => 3; // ensures we build an interceptor for `.length` } main() { confuse('').trim(); // includes some code above the interceptors confuse([]).length; confuse(new MyType()).length; // TODO(johnniwinther): Intercepted access should point to 'length': confuse(null). length; // called through the interceptor } @pragma('dart2js:noInline') confuse(x) => x; ---from kernel------------------------------------------------------ Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testZFRLLQ/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testZFRLLQ/input.dart Compiled 7,397,075 characters Dart to 46,579 characters JavaScript in 3.53 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testZFRLLQ/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testZFRLLQ/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testZFRLLQ/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testZFRLLQ'. ---from kernel with CFE constants----------------------------------- Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testQJYDWV/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testQJYDWV/input.dart --enable-experiment=constant-update-2018 Compiled 4,385,314 characters Dart to 46,579 characters JavaScript in 8.40 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testQJYDWV/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testQJYDWV/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testQJYDWV/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testQJYDWV'. ---------------------------------------------------------------- Checking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/throw_in_instance_method.dart ---------------------------------------------------------------- // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. main() { var c = new Class(); c. test(); } class Class { @pragma('dart2js:noInline') test() { throw '>ExceptionMarker<'; } } ---from kernel------------------------------------------------------ Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testITXUHA/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testITXUHA/input.dart Compiled 7,396,821 characters Dart to 43,641 characters JavaScript in 2.78 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testITXUHA/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testITXUHA/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testITXUHA/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testITXUHA'. ---from kernel with CFE constants----------------------------------- Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testWVQFEN/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testWVQFEN/input.dart --enable-experiment=constant-update-2018 Compiled 4,385,060 characters Dart to 43,641 characters JavaScript in 6.97 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testWVQFEN/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testWVQFEN/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testWVQFEN/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testWVQFEN'. ---------------------------------------------------------------- Checking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/setter_inlining.dart ---------------------------------------------------------------- // Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. class MyClass { int fieldName; MyClass(this.fieldName); set setterName(int v) => fieldName = v; } @pragma('dart2js:noInline') confuse(x) => x; main() { confuse(new MyClass(3)); var m = confuse(null); m. setterName = 2; print(m.fieldName); } ---from kernel------------------------------------------------------ Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testKRISJN/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testKRISJN/input.dart Compiled 7,396,940 characters Dart to 44,178 characters JavaScript in 2.65 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testKRISJN/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testKRISJN/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testKRISJN/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testKRISJN'. ---from kernel with CFE constants----------------------------------- Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testELICLA/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testELICLA/input.dart --enable-experiment=constant-update-2018 Compiled 4,385,179 characters Dart to 44,178 characters JavaScript in 6.50 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testELICLA/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testELICLA/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testELICLA/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testELICLA'. ---------------------------------------------------------------- Checking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/sync_throw_in_awaited_async.dart ---------------------------------------------------------------- // Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. main() { // This call is on the stack when the error is thrown. test1(); } // TODO(34942): Step 3 should point to the body block. @pragma('dart2js:noInline') test1 () async { // This call is on the stack when the error is thrown. await test2(); } // TODO(34942): Step 7 should point to the body block. @pragma('dart2js:noInline') test2 () async { throw '>ExceptionMarker<'; } ---from kernel------------------------------------------------------ Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testFMUYFR/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testFMUYFR/input.dart Hint: When run on the command-line, the compiled output might require a preamble file located in: <sdk>/lib/_internal/js_runtime/lib/preambles. Compiled 7,397,069 characters Dart to 114,431 characters JavaScript in 3.90 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testFMUYFR/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testFMUYFR/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testFMUYFR/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testFMUYFR'. ---from kernel with CFE constants----------------------------------- Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testLYKLDJ/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testLYKLDJ/input.dart --enable-experiment=constant-update-2018 Hint: When run on the command-line, the compiled output might require a preamble file located in: <sdk>/lib/_internal/js_runtime/lib/preambles. Compiled 4,385,308 characters Dart to 113,939 characters JavaScript in 7.69 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testLYKLDJ/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testLYKLDJ/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testLYKLDJ/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testLYKLDJ'. ---------------------------------------------------------------- Checking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/throw_in_main.dart ---------------------------------------------------------------- // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. main() { throw '>ExceptionMarker<'; } ---from kernel------------------------------------------------------ Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testFBNVUZ/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testFBNVUZ/input.dart Compiled 7,396,721 characters Dart to 43,505 characters JavaScript in 2.15 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testFBNVUZ/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testFBNVUZ/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testFBNVUZ/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testFBNVUZ'. ---from kernel with CFE constants----------------------------------- Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testCRQFQV/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testCRQFQV/input.dart --enable-experiment=constant-update-2018 Compiled 4,384,960 characters Dart to 43,505 characters JavaScript in 6.30 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testCRQFQV/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testCRQFQV/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testCRQFQV/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testCRQFQV'. ---------------------------------------------------------------- Checking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/null_instance_field_elided.dart ---------------------------------------------------------------- // Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. main() { test(new Class()); } @pragma('dart2js:noInline') test(c) { c.field. method(); } class Class { var field; } ---from kernel------------------------------------------------------ Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testCPWIZI/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testCPWIZI/input.dart Compiled 7,396,805 characters Dart to 11,665 characters JavaScript in 2.06 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testCPWIZI/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testCPWIZI/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testCPWIZI/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testCPWIZI'. ---from kernel with CFE constants----------------------------------- Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testNVRUCH/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testNVRUCH/input.dart --enable-experiment=constant-update-2018 Compiled 4,385,044 characters Dart to 11,665 characters JavaScript in 5.27 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testNVRUCH/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testNVRUCH/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testNVRUCH/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testNVRUCH'. ---------------------------------------------------------------- Checking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/throw_in_top_level_method_from_async.dart ---------------------------------------------------------------- // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. main() { test1(); } @pragma('dart2js:noInline') test1() async { await null; test2(); } @pragma('dart2js:noInline') test2() { throw '>ExceptionMarker<'; } ---from kernel------------------------------------------------------ Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testWKCWIQ/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testWKCWIQ/input.dart Hint: When run on the command-line, the compiled output might require a preamble file located in: <sdk>/lib/_internal/js_runtime/lib/preambles. Compiled 7,396,845 characters Dart to 113,871 characters JavaScript in 3.67 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testWKCWIQ/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testWKCWIQ/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testWKCWIQ/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testWKCWIQ'. ---from kernel with CFE constants----------------------------------- Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testNIPAUR/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testNIPAUR/input.dart --enable-experiment=constant-update-2018 Hint: When run on the command-line, the compiled output might require a preamble file located in: <sdk>/lib/_internal/js_runtime/lib/preambles. Compiled 4,385,084 characters Dart to 113,379 characters JavaScript in 6.49 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testNIPAUR/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testNIPAUR/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testNIPAUR/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testNIPAUR'. ---------------------------------------------------------------- Checking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/throw_in_try_catch.dart ---------------------------------------------------------------- // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. main() { test(); } @pragma('dart2js:noInline') test() { try { throw '>ExceptionMarker<'; // ignore: UNUSED_CATCH_CLAUSE } on Error catch (e) {} } ---from kernel------------------------------------------------------ Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testYJCIYX/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testYJCIYX/input.dart Compiled 7,396,842 characters Dart to 69,105 characters JavaScript in 2.30 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testYJCIYX/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testYJCIYX/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testYJCIYX/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testYJCIYX'. ---from kernel with CFE constants----------------------------------- Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testTTOFTE/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testTTOFTE/input.dart --enable-experiment=constant-update-2018 Compiled 4,385,081 characters Dart to 69,105 characters JavaScript in 6.27 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testTTOFTE/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testTTOFTE/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testTTOFTE/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testTTOFTE'. ---------------------------------------------------------------- Checking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/sync_throw_in_async.dart ---------------------------------------------------------------- // Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. main() { // This call is on the stack when the error is thrown. test(); } // TODO(34942): Step 2 should point to the body block. @pragma('dart2js:noInline') test () async { throw '>ExceptionMarker<'; } ---from kernel------------------------------------------------------ Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testPWTDHP/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testPWTDHP/input.dart Hint: When run on the command-line, the compiled output might require a preamble file located in: <sdk>/lib/_internal/js_runtime/lib/preambles. Compiled 7,396,890 characters Dart to 113,673 characters JavaScript in 3.24 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testPWTDHP/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testPWTDHP/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testPWTDHP/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testPWTDHP'. ---from kernel with CFE constants----------------------------------- Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testRPOVYV/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testRPOVYV/input.dart --enable-experiment=constant-update-2018 Hint: When run on the command-line, the compiled output might require a preamble file located in: <sdk>/lib/_internal/js_runtime/lib/preambles. Compiled 4,385,129 characters Dart to 113,181 characters JavaScript in 7.06 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testRPOVYV/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testRPOVYV/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testRPOVYV/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testRPOVYV'. ---------------------------------------------------------------- Checking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/getter_inlining.dart ---------------------------------------------------------------- class MyClass { int fieldName; MyClass(this.fieldName); int get getterName => fieldName; } @pragma('dart2js:noInline') confuse(x) => x; main() { confuse(new MyClass(3)); var m = confuse(null); m. getterName; } ---from kernel------------------------------------------------------ Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testKZAVTE/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testKZAVTE/input.dart Compiled 7,396,690 characters Dart to 43,682 characters JavaScript in 1.99 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testKZAVTE/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testKZAVTE/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testKZAVTE/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testKZAVTE'. ---from kernel with CFE constants----------------------------------- Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testWUNWOS/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testWUNWOS/input.dart --enable-experiment=constant-update-2018 Compiled 4,384,929 characters Dart to 43,682 characters JavaScript in 5.92 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testWUNWOS/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testWUNWOS/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testWUNWOS/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testWUNWOS'. ---------------------------------------------------------------- Checking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/sync_throw_in_constructor_from_async.dart ---------------------------------------------------------------- // Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. main() { test(); } test() async { // TODO(johnniwinther): Investigate why kernel doesn't point to the body // start brace. // ignore: UNUSED_LOCAL_VARIABLE var c = new Class(); } class Class { @pragma('dart2js:noInline') Class() { throw '>ExceptionMarker<'; } } ---from kernel------------------------------------------------------ Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testMDENMF/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testMDENMF/input.dart Hint: When run on the command-line, the compiled output might require a preamble file located in: <sdk>/lib/_internal/js_runtime/lib/preambles. Compiled 7,396,965 characters Dart to 113,819 characters JavaScript in 3.94 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testMDENMF/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testMDENMF/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testMDENMF/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testMDENMF'. ---from kernel with CFE constants----------------------------------- Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testSQTTCN/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testSQTTCN/input.dart --enable-experiment=constant-update-2018 Hint: When run on the command-line, the compiled output might require a preamble file located in: <sdk>/lib/_internal/js_runtime/lib/preambles. Compiled 4,385,204 characters Dart to 113,327 characters JavaScript in 6.46 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testSQTTCN/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testSQTTCN/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testSQTTCN/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testSQTTCN'. ---------------------------------------------------------------- Checking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/throw_in_awaited_async.dart ---------------------------------------------------------------- // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. main() { test1(); } @pragma('dart2js:noInline') test1() async { // This call is no longer on the stack when the error is thrown. await test2(); } @pragma('dart2js:noInline') test2() async { await null; throw '>ExceptionMarker<'; } ---from kernel------------------------------------------------------ Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testYDUHEN/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testYDUHEN/input.dart Hint: When run on the command-line, the compiled output might require a preamble file located in: <sdk>/lib/_internal/js_runtime/lib/preambles. Compiled 7,396,924 characters Dart to 114,577 characters JavaScript in 3.59 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testYDUHEN/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testYDUHEN/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testYDUHEN/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testYDUHEN'. ---from kernel with CFE constants----------------------------------- Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testMRWMPO/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testMRWMPO/input.dart --enable-experiment=constant-update-2018 Hint: When run on the command-line, the compiled output might require a preamble file located in: <sdk>/lib/_internal/js_runtime/lib/preambles. Compiled 4,385,163 characters Dart to 114,085 characters JavaScript in 6.81 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testMRWMPO/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testMRWMPO/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testMRWMPO/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testMRWMPO'. ---------------------------------------------------------------- Checking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/throw_in_constructor.dart ---------------------------------------------------------------- // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. main() { // ignore: UNUSED_LOCAL_VARIABLE var c = new Class(); } class Class { @pragma('dart2js:noInline') Class() { throw '>ExceptionMarker<'; } } ---from kernel------------------------------------------------------ Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testZFUPIS/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testZFUPIS/input.dart Compiled 7,396,844 characters Dart to 43,651 characters JavaScript in 1.98 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testZFUPIS/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testZFUPIS/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testZFUPIS/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testZFUPIS'. ---from kernel with CFE constants----------------------------------- Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testSFCINT/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testSFCINT/input.dart --enable-experiment=constant-update-2018 Compiled 4,385,083 characters Dart to 43,651 characters JavaScript in 5.31 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testSFCINT/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testSFCINT/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testSFCINT/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testSFCINT'. ---------------------------------------------------------------- Checking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/parameters.dart ---------------------------------------------------------------- // Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. main() { var c = new Class(); c. instancePositional1(0); // Use all optional parameters to ensure that they are not elided. var d = new Class(); d.instancePositional1(null, null, null); d.instancePositional2(null, null, null); d.instanceNamed1(null, b: null, c: null, d: null); d.instanceNamed2(null, b: null, c: null, d: null); d.instanceNamed3(null, b: null, c: null, d: null); d.instanceNamed4(null, b: null, c: null, d: null); } class Class { @pragma('dart2js:noInline') instancePositional1(a, [b = 42, c = 87]) { print('instancePositional1($a,$b,$c)'); instancePositional2(1, 2); } @pragma('dart2js:noInline') instancePositional2(a, [b = 42, c = 87]) { print('instancePositional2($a,$b,$c)'); instancePositional3(3, 4, 5); } @pragma('dart2js:noInline') instancePositional3(a, [b = 42, c = 87]) { print('instancePositional3($a,$b,$c)'); instanceNamed1(0); } @pragma('dart2js:noInline') instanceNamed1(a, {b: 42, c: 87, d: 735}) { print('instanceNamed1($a,b:$b,c:$c,d:$d)'); instanceNamed2(1, b: 2); } @pragma('dart2js:noInline') instanceNamed2(a, {b: 42, c: 87, d: 735}) { print('instanceNamed2($a,b:$b,c:$c,d:$d)'); instanceNamed3(3, c: 123); } @pragma('dart2js:noInline') instanceNamed3(a, {b: 42, c: 87, d: 735}) { print('instanceNamed3($a,b:$b,c:$c,d:$d)'); instanceNamed4(4, c: 45, b: 76); } @pragma('dart2js:noInline') instanceNamed4(a, {b: 42, c: 87, d: 735}) { print('instanceNamed4($a,b:$b,c:$c,d:$d)'); instanceNamed5(5, c: 6, b: 7, d: 8); } @pragma('dart2js:noInline') instanceNamed5(a, {b: 42, c: 87, d: 735}) { print('instanceNamed5($a,b:$b,c:$c,d:$d)'); local([e = 42]) { print('instanceNamed5.local($e)'); throw '>ExceptionMarker<'; } var anonymous = ( {f: 87}) { print('instanceNamed5.<anonymous(f:$f)'); local(); }; anonymous. call(); } } ---from kernel------------------------------------------------------ Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testDWCELE/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testDWCELE/input.dart Compiled 7,398,667 characters Dart to 59,399 characters JavaScript in 3.26 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testDWCELE/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testDWCELE/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testDWCELE/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testDWCELE'. ---from kernel with CFE constants----------------------------------- Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testVXJQFG/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testVXJQFG/input.dart --enable-experiment=constant-update-2018 Compiled 4,386,906 characters Dart to 59,377 characters JavaScript in 5.55 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testVXJQFG/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testVXJQFG/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testVXJQFG/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testVXJQFG'. ---------------------------------------------------------------- Checking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/throw_in_top_level_method.dart ---------------------------------------------------------------- // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. main() { test(); } @pragma('dart2js:noInline') test() { throw '>ExceptionMarker<'; } ---from kernel------------------------------------------------------ Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testUWMRSI/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testUWMRSI/input.dart Compiled 7,396,771 characters Dart to 43,551 characters JavaScript in 2.26 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testUWMRSI/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testUWMRSI/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testUWMRSI/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testUWMRSI'. ---from kernel with CFE constants----------------------------------- Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testVZHDEN/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testVZHDEN/input.dart --enable-experiment=constant-update-2018 Compiled 4,385,010 characters Dart to 43,551 characters JavaScript in 6.33 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testVZHDEN/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testVZHDEN/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testVZHDEN/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testVZHDEN'. ---------------------------------------------------------------- Checking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/throw_in_static_method.dart ---------------------------------------------------------------- // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. main() { Class. test(); } class Class { @pragma('dart2js:noInline') static test() { throw '>ExceptionMarker<'; } } ---from kernel------------------------------------------------------ Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testLHTCZU/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testLHTCZU/input.dart Compiled 7,396,809 characters Dart to 43,563 characters JavaScript in 1.84 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testLHTCZU/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testLHTCZU/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testLHTCZU/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testLHTCZU'. ---from kernel with CFE constants----------------------------------- Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testUVQESY/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testUVQESY/input.dart --enable-experiment=constant-update-2018 Compiled 4,385,048 characters Dart to 43,563 characters JavaScript in 5.00 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testUVQESY/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testUVQESY/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testUVQESY/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testUVQESY'. ---------------------------------------------------------------- Checking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/deep_inlining.dart ---------------------------------------------------------------- // Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. class MyClass {} @pragma('dart2js:noInline') method3() { throw new MyClass(); } method2() => method3(); method4() { method2(); } method1() { print('hi'); method4(); } main() => method1(); ---from kernel------------------------------------------------------ Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testMVFOAK/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testMVFOAK/input.dart Compiled 7,396,881 characters Dart to 44,199 characters JavaScript in 2.65 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testMVFOAK/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testMVFOAK/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testMVFOAK/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testMVFOAK'. ---from kernel with CFE constants----------------------------------- Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testQNBEUA/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testQNBEUA/input.dart --enable-experiment=constant-update-2018 Compiled 4,385,120 characters Dart to 44,199 characters JavaScript in 6.52 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testQNBEUA/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testQNBEUA/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testQNBEUA/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testQNBEUA'. ---------------------------------------------------------------- Checking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/sync_throw_in_top_level_method_from_async.dart ---------------------------------------------------------------- // Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. main() { test1(); } // TODO(34942): Step 2 should point to the body block. @pragma('dart2js:noInline') test1 () async { test2(); } @pragma('dart2js:noInline') test2() { throw '>ExceptionMarker<'; } ---from kernel------------------------------------------------------ Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testASNZCU/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testASNZCU/input.dart Hint: When run on the command-line, the compiled output might require a preamble file located in: <sdk>/lib/_internal/js_runtime/lib/preambles. Compiled 7,396,887 characters Dart to 113,725 characters JavaScript in 2.93 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testASNZCU/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testASNZCU/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testASNZCU/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testASNZCU'. ---from kernel with CFE constants----------------------------------- Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testUUSSIX/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testUUSSIX/input.dart --enable-experiment=constant-update-2018 Hint: When run on the command-line, the compiled output might require a preamble file located in: <sdk>/lib/_internal/js_runtime/lib/preambles. Compiled 4,385,126 characters Dart to 113,233 characters JavaScript in 6.27 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testUUSSIX/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testUUSSIX/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testUUSSIX/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testUUSSIX'. ---------------------------------------------------------------- Checking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/throw_in_constructor_from_async.dart ---------------------------------------------------------------- // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. main() { // This call is no longer on the stack when the error is thrown. test(); } test() async { await null; // ignore: UNUSED_LOCAL_VARIABLE var c = new Class(); } class Class { @pragma('dart2js:noInline') Class() { throw '>ExceptionMarker<'; } } ---from kernel------------------------------------------------------ Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testIRDROC/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testIRDROC/input.dart Hint: When run on the command-line, the compiled output might require a preamble file located in: <sdk>/lib/_internal/js_runtime/lib/preambles. Compiled 7,396,953 characters Dart to 113,964 characters JavaScript in 3.44 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testIRDROC/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testIRDROC/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testIRDROC/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testIRDROC'. ---from kernel with CFE constants----------------------------------- Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testFDHOQA/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testFDHOQA/input.dart --enable-experiment=constant-update-2018 Hint: When run on the command-line, the compiled output might require a preamble file located in: <sdk>/lib/_internal/js_runtime/lib/preambles. Compiled 4,385,192 characters Dart to 113,472 characters JavaScript in 5.85 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testFDHOQA/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testFDHOQA/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testFDHOQA/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testFDHOQA'. ---------------------------------------------------------------- Checking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/throw_in_try_finally.dart ---------------------------------------------------------------- // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. main() { test(); } @pragma('dart2js:noInline') test() { try { throw '>ExceptionMarker<'; } finally {} } ---from kernel------------------------------------------------------ Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testPAKSCQ/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testPAKSCQ/input.dart Compiled 7,396,796 characters Dart to 43,591 characters JavaScript in 3.66 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testPAKSCQ/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testPAKSCQ/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testPAKSCQ/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testPAKSCQ'. ---from kernel with CFE constants----------------------------------- Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testFGHXNA/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testFGHXNA/input.dart --enable-experiment=constant-update-2018 Compiled 4,385,035 characters Dart to 43,591 characters JavaScript in 5.69 seconds Dart file (/b/s/w/ir/tmp/t/stacktrace-testFGHXNA/input.dart) compiled to JavaScript: ../../../tmp/t/stacktrace-testFGHXNA/out.js Running d8 /b/s/w/ir/tmp/t/stacktrace-testFGHXNA/out.js Deleting '/b/s/w/ir/tmp/t/stacktrace-testFGHXNA'. ---------------------------------------------------------------- Checking file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/sourcemaps/stacktrace/null_instance_field.dart ---------------------------------------------------------------- // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. main() { test(new Class()); } @pragma('dart2js:noInline') test(c) { c. field.method(); } class Class { @pragma('dart2js:noElision') var field; } ---from kernel------------------------------------------------------ Compiling dart2js -o/b/s/w/ir/tmp/t/stacktrace-testITZFHO/out.js --libraries-spec=sdk/lib/libraries.json --packages=file:///b/s/w/ir/cache/builder/sdk/.packages --test-mode /b/s/w/ir/tmp/t/stacktrace-testITZFHO/input.dart --- Re-run this test: python tools/test.py -n unittest-asserts-no-sdk-linux dart2js/sourcemaps/stacktrace_test