dart-sdk/build/toolchain
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
..
android [build] Consistently use either gcc/binutils or clang/llvm. 2023-05-22 15:57:18 +00:00
fuchsia [build] Don't export all symbols to the dynamic table. 2023-09-05 21:47:59 +00:00
linux [build] Consistently use either gcc/binutils or clang/llvm. 2023-05-22 15:57:18 +00:00
mac [build] Don't export all symbols to the dynamic table. 2023-09-05 21:47:59 +00:00
win Reland x3 [dart2wasm] Include wasm-opt in the shipped dart-sdk. 2023-03-10 18:34:10 +00:00
ccache.gni Add a snapshot of flutter/engine/src/build to our sdk 2016-07-01 11:09:28 -07:00
gcc_toolchain.gni [build] Don't export all symbols to the dynamic table. 2023-09-05 21:47:59 +00:00
get_concurrent_links.py [infra] Migrate scripts to python3 2021-04-15 10:10:20 +00:00
goma.gni [build] GN flag to use relative symlink to Xcode 2020-03-19 08:33:17 +00:00