dart-sdk/runtime
Alexander Markov 4de07617b1 [vm] Fix vm/cc/CodeRelocator tests
There is no need to adjust instruction address by Page::AliasOffset()
when copying them to the image, as instructions are still readable
even if dual-mapped. The adjustment can be harmfull if Code is not
properly finalized and instructions in the Code are not replaced
with executable version.

TEST=ci
Fixes https://github.com/dart-lang/sdk/issues/51525

Cq-Include-Trybots: luci.dart.try:vm-linux-debug-x64c-try,vm-win-debug-x64c-try
Change-Id: I4af0ded149f27f6a68d2962805748d1eef6625e3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/286022
Auto-Submit: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
2023-02-28 21:49:33 +00:00
..
bin Revert "[VM] Begin supporting Perfetto file recorder" 2023-02-28 12:41:00 +00:00
docs [vm/aot/tfa] Static weak references to method tearoffs 2023-02-22 01:01:29 +00:00
include [vm] Fix Dart_CObject_Type breaking change 2023-02-20 11:59:19 +00:00
lib [vm] Avoid a second map lookup when dispatching isolate messages. 2023-02-27 18:08:25 +00:00
observatory [VM/Service] Add support for class modifiers 2023-02-27 21:07:41 +00:00
observatory_2 [VM/Service] Add support for class modifiers 2023-02-27 21:07:41 +00:00
platform Revert "[VM] Begin supporting Perfetto file recorder" 2023-02-28 12:41:00 +00:00
tests [vm/regex] Ensure CharacterRanges are canonicalized before QuickCheck decision is made. 2023-02-28 20:26:58 +00:00
third_party Spelling pkg analyzer lib 2023-01-25 14:08:27 +00:00
tools Revert "[VM] Begin supporting Perfetto file recorder" 2023-02-28 12:41:00 +00:00
vm [vm] Fix vm/cc/CodeRelocator tests 2023-02-28 21:49:33 +00:00
.clang-tidy
.gitignore
BUILD.gn Revert "[VM] Begin supporting Perfetto file recorder" 2023-02-28 12:41:00 +00:00
codereview.settings
configs.gni [vm/ffi] FfiNative process lookup 2022-10-25 10:57:07 +00:00
CPPLINT.cfg [cpplint] Disable runtime/references lint 2023-01-23 18:21:48 +00:00
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
PRESUBMIT.py Revert "[VM] Begin supporting Perfetto file recorder" 2023-02-28 12:41:00 +00:00
runtime_args.gni Reland "[build] Make build_analyze_snapshot consistent between the host and target toolchains." 2023-02-07 18:45:20 +00:00