dart-sdk/runtime
Vyacheslav Egorov dd2f556730 [vm] Reoder CFI directives in generated assembly.
This should not actually matter, but we discovered
that LLVM code responsible for emitting compact unwind information
expects this specific ordering of CFI directives. If we don't
follow the order then LLVM fails to emit compact unwind info and emits
__eh_frame instead which is very large.

See https://github.com/llvm/llvm-project/issues/62574.

Fixes https://github.com/flutter/flutter/issues/126004.

Tested: manually via pkg/vm/tool/precompiler2 --build-assembly and objdump --unwind-info
Change-Id: Idb1f4f64afdaa7206bf43adf1685bb1f4086217f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/301740
Commit-Queue: Slava Egorov <vegorov@google.com>
Reviewed-by: Zach Anderson <zra@google.com>
2023-05-05 18:39:09 +00:00
..
bin [vm/bin] Improve error message in WakeupHandler 2023-05-02 07:32:30 +00:00
docs [vm] Remove TypeRef 2023-04-28 19:29:36 +00:00
include [ VM ] Move class name from heap profiler report callback to allocation callback 2023-04-25 13:02:49 +00:00
lib [vm] Remove TypeRef 2023-04-28 19:29:36 +00:00
observatory [VM/Service] Add getPerfettoCpuSamples RPC 2023-05-03 19:17:11 +00:00
observatory_2 [VM/Service] Add getPerfettoCpuSamples RPC 2023-05-03 19:17:11 +00:00
platform [VM/GC] Ensure that all the GC verification flags do not produce trace 2023-04-28 23:25:43 +00:00
tests [gardening] Remove test from stress testing. 2023-04-27 14:57:58 +00:00
third_party Spelling pkg analyzer lib 2023-01-25 14:08:27 +00:00
tools Update README.md 2023-04-25 18:50:20 +00:00
vm [vm] Reoder CFI directives in generated assembly. 2023-05-05 18:39:09 +00:00
.clang-tidy
.gitignore
BUILD.gn [VM/Timeline] Lock accesses to the async track metadata map where needed 2023-05-01 14:52:30 +00:00
codereview.settings
configs.gni [Runtime] Add extra_product_deps and extra_nonproduct_deps params to "library_for_all_configs_with_compiler" template 2023-04-14 19:51:40 +00:00
CPPLINT.cfg [cpplint] Disable runtime/references lint 2023-01-23 18:21:48 +00:00
OWNERS
PRESUBMIT.py Reland "Reland "[VM] Begin supporting Perfetto file recorder"" 2023-04-18 19:39:05 +00:00
runtime_args.gni [VM/Timeline] Lock accesses to the async track metadata map where needed 2023-05-01 14:52:30 +00:00