Index: tools/precompilation/test_macos.sh |
diff --git a/tools/precompilation/test_macos.sh b/tools/precompilation/test_macos.sh |
index 48e318da67c75b8aed28c90b718bcf92175c21ad..4dbf51cdad2e1d1917c7a03cc6ca86babccdf122 100755 |
--- a/tools/precompilation/test_macos.sh |
+++ b/tools/precompilation/test_macos.sh |
@@ -2,12 +2,12 @@ |
# Usage: |
# cd sdk |
-# ./tools/precompilation/test_macos.sh |
+# ./tools/precompilation/test_macos.sh <dart-script-file> |
./tools/build.py -mdebug -ax64 runtime |
-./xcodebuild/DebugX64/dart_no_snapshot --gen-precompiled-snapshot ~/hello.dart |
+./xcodebuild/DebugX64/dart_no_snapshot --gen-precompiled-snapshot "$1" |
clang -m64 -dynamiclib -o libprecompiled.dylib precompiled.S |
-LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD" lldb -- ./xcodebuild/DebugX64/dart --run-precompiled-snapshot not_used.dart |
+LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD" lldb -- ./xcodebuild/DebugX64/dart --run-precompiled-snapshot --observe not_used.dart |