| Index: tools/precompilation/test_linux.sh
|
| diff --git a/tools/precompilation/test_linux.sh b/tools/precompilation/test_linux.sh
|
| index e8839e105308f079c1eafc1cb14ad4da9cbfe9c2..d6263b11de14cf5a630828b0577bcbe4a409db72 100755
|
| --- a/tools/precompilation/test_linux.sh
|
| +++ b/tools/precompilation/test_linux.sh
|
| @@ -2,12 +2,12 @@
|
|
|
| # Usage:
|
| # cd sdk
|
| -# ./tools/precompilation/test_linux.sh
|
| +# ./tools/precompilation/test_linux.sh <dart-script-file>
|
|
|
| ./tools/build.py -mdebug -ax64 runtime
|
|
|
| -./out/DebugX64/dart_no_snapshot --gen-precompiled-snapshot ~/hello.dart
|
| +./out/DebugX64/dart_no_snapshot --gen-precompiled-snapshot "$1"
|
|
|
| gcc -m64 -shared -Wl,-soname,libprecompiled.so -o libprecompiled.so precompiled.S
|
|
|
| -LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD" gdb -ex run --args ./out/DebugX64/dart --run-precompiled-snapshot not_used.dart
|
| +LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD" gdb -ex run --args ./out/DebugX64/dart --run-precompiled-snapshot --observe --profile-vm not_used.dart
|
|
|