f8e21c5c94
Use "out.aotsnapshot" as the name for all non-assembled snapshots and names with the appropriate shared object extension for the host OS for assembled snapshots. This ensures the test checks for .dll extensions added in https://dart-review.googlesource.com/c/sdk/+/428200 only trigger for assembled snapshots as expected, and not for other formats (e.g., Windows trybots using sanitizers, which still use direct to ELF snapshots). Also fixes incorrect line numbers in dwarf_stack_trace_test.dart. TEST=vm/dart/build_id_test standalone/dwarf_stack_trace_test Cq-Include-Trybots: luci.dart.try:vm-asan-win-release-x64-try,vm-linux-release-x64-try,vm-mac-release-arm64-try Bug: https://github.com/dart-lang/sdk/issues/60846 Change-Id: Ife06613d86874d76adeb99dcbc50fc3723aae584 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/432660 Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Tess Strickland <sstrickl@google.com>