mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 16:17:55 +00:00
b8ee3a9996
We were exporting all symbols to the dynamic table so that they could be looked up using `dladdr` for the profiler and backtracer. The symbols include our statically-linked libcxx, which can create trouble when another DSO has a different version of libcxx. Now we export only the VM embedding API functions (`Dart_*`) and use a specially produced table to do the symbolization. TEST=runtime/tests/vm/dart/exported_symbols_test.dart TEST=runtime/tests/vm/dart/symbolized_crash_test.dart Bug: https://github.com/dart-lang/sdk/issues/53267 Change-Id: I2ee494fba86f67127ba0f6f402622f01a4662207 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/323702 Reviewed-by: Daco Harkes <dacoharkes@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com> |
||
---|---|---|
.. | ||
config | ||
dart | ||
fuchsia | ||
linux | ||
mac | ||
rust | ||
sanitizers | ||
secondary | ||
toolchain | ||
.gitignore | ||
detect_host_arch.py | ||
executable_suffix.gni | ||
find_depot_tools.py | ||
gn_helpers.py | ||
gn_run_binary.py | ||
OWNERS | ||
README.dart.md | ||
shim_headers.gni | ||
vs_toolchain.py |
This directory was taken from a snapshot of flutter/engine/src/build/.
The snapshot was taken with a recursive copy cp -R
of the directory from
the flutter repository.
The contents has now diverged significantly from Flutter, and is maintained independently by the Dart team. It is used to support the GN build system.