[vm] Support assembly output for Windows.

The resulting DLL lacks debugging information / PDB.

TEST=ci
Bug: https://github.com/dart-lang/sdk/issues/60812
Bug: https://github.com/dart-lang/sdk/issues/60813
Cq-Include-Trybots: luci.dart.try:vm-aot-win-debug-arm64-try,vm-aot-win-debug-x64-try,vm-aot-win-release-arm64-try,vm-aot-win-release-x64-try
Change-Id: I305bad0081ec24f27249ad9b75ff8d32fa9c4893
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/428200
Reviewed-by: Tess Strickland <sstrickl@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
Ryan Macnak
2025-06-02 12:12:04 -07:00
committed by Commit Queue
parent bd9ab13a38
commit 03301c9bfb
21 changed files with 168 additions and 46 deletions
+5 -6
View File
@@ -138,7 +138,11 @@
"buildtools/mac-arm64/clang/lib/clang/21/lib/darwin/",
"buildtools/mac-x64/clang/bin/",
"buildtools/mac-x64/clang/lib/clang/21/lib/darwin/",
"buildtools/win-x64/clang/bin/clang.exe",
"buildtools/win-x64/clang/bin/lld-link.exe",
"buildtools/win-x64/clang/bin/llvm-strip.exe",
"buildtools/win-x64/clang/bin/llvm-symbolizer.exe",
"buildtools/win-x64/clang/lib/clang/",
"third_party/android_tools/sdk/platform-tools/adb",
"third_party/android_tools/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/x86_64-unknown-linux-gnu/libc++.so",
"third_party/android_tools/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-objcopy",
@@ -301,7 +305,7 @@
"enable-asserts": true
}
},
"vm-aot-(linux|fuchsia)-(debug|product|release)-(x64|x64c|arm64|arm64c)": {
"vm-aot-(linux|fuchsia|win)-(debug|product|release)-(x64|x64c|arm64|arm64c)": {
"options": {}
},
"vm-aot-mac-(debug|product|release)-(x64|x64c|arm64|arm64c)": {
@@ -309,11 +313,6 @@
"gen-snapshot-format" : "macho-dylib"
}
},
"vm-aot-win-(debug|product|release)-(x64|x64c|arm64|arm64c)": {
"options": {
"gen-snapshot-format" : "elf"
}
},
"vm-aot-(linux|mac|win)-(debug|product|release)-(simarm|simarm_x64|simarm64|simriscv32|simriscv64)": {
"options": {
"gen-snapshot-format" : "elf"