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

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

Issue 1309563006: Emit assembly instead of a blob for the instructions snapshot, and provide labels for the entry poi… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « tools/precompilation/test_linux_simarm.sh ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash -ex 1 #!/bin/bash -ex
2 2
3 # Usage: 3 # Usage:
4 # cd sdk 4 # cd sdk
5 # ./tools/precompilation/test_macos.sh 5 # ./tools/precompilation/test_macos.sh
6 6
7 ./tools/build.py -mdebug -ax64 runtime 7 ./tools/build.py -mdebug -ax64 runtime
8 8
9 ./xcodebuild/DebugX64/dart_no_snapshot --gen-precompiled-snapshot ~/hello.dart 9 ./xcodebuild/DebugX64/dart_no_snapshot --gen-precompiled-snapshot ~/hello.dart
10 10
11 ./xcodebuild/DebugX64/dart ./tools/precompilation/create_instructions_snapshot_a ssembly.dart precompiled.instructions precompiled.S
12
13 clang -m64 -dynamiclib -o libprecompiled.dylib precompiled.S 11 clang -m64 -dynamiclib -o libprecompiled.dylib precompiled.S
14 12
15 LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD" lldb -- ./xcodebuild/DebugX64/dart --run -precompiled-snapshot not_used.dart 13 LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD" lldb -- ./xcodebuild/DebugX64/dart --run -precompiled-snapshot not_used.dart
OLDNEW
« no previous file with comments | « tools/precompilation/test_linux_simarm.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698