dart-sdk/build
Ryan Macnak b8ee3a9996 [build] Don't export all symbols to the dynamic table.
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>
2023-09-05 21:47:59 +00:00
..
config [build] Don't export all symbols to the dynamic table. 2023-09-05 21:47:59 +00:00
dart
fuchsia [Fuchsia] Import test scripts from chromium and use it to download image 2023-08-22 19:59:25 +00:00
linux
mac
rust
sanitizers
secondary
toolchain [build] Don't export all symbols to the dynamic table. 2023-09-05 21:47:59 +00:00
.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.