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

Side by Side Diff: tools/precompilation/test_linux_simarm.sh

Issue 1992703005: Add test harness option for app snapshots with unoptimized code. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #!/usr/bin/env bash
2
3 set -ex
4
5 # Usage:
6 # cd sdk
7 # ./tools/precompilation/test_linux.sh <dart-script-file>
8
9 ./tools/build.py -mdebug -asimarm runtime
10
11 ./out/DebugSIMARM/dart_bootstrap --gen-precompiled-snapshot --package-root=out/D ebugX64/packages/ "$1"
12
13 gcc -nostartfiles -m32 -shared -Wl,-soname,libprecompiled.so -o libprecompiled.s o precompiled.S
14
15 gdb -ex run --args ./out/DebugSIMARM/dart_precompiled_runtime --run-precompiled- snapshot=$PWD not_used.dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698