10cc8d95c2
Architecture: * The backends piece together the information of the original definitions by undoing the name mangling. Classes, top-level methods, and static methods have the kind and disambiguator now. Bug: https://github.com/dart-lang/native/issues/2888 Extension name and extension method names are now tracked properly. Unnamed extensions are named `<unnamed>` for now. We should consider making `name` optional in the format. Bug: https://github.com/dart-lang/native/issues/2948 We don't have test coverage for enums. The current implementation reports them as instances. Bug: https://github.com/dart-lang/native/issues/2944 TEST=pkg/compiler/test/record_use/record_use_test.dart TEST=pkg/dart2wasm/test/record_use_test.dart TEST=pkg/vm/test/transformations/record_use_test.dart Change-Id: I7f87fcac3d2333b150cc7ed30bce7960f8a845e3 Cq-Include-Trybots: luci.dart.try:dart2wasm-asserts-linux-chrome-try,dart2wasm-asserts-minified-linux-d8-try,dart2wasm-linux-chrome-try,dart2wasm-linux-d8-try,dart2wasm-linux-firefox-try,dart2wasm-linux-jscm-chrome-try,dart2wasm-linux-optimized-jsc-try,pkg-linux-debug-try,pkg-linux-release-arm64-try,pkg-linux-release-try,pkg-mac-release-arm64-try,pkg-mac-release-try,pkg-win-release-arm64-try,pkg-win-release-try,dart2js-canary-linux-try,dart2js-hostasserts-linux-d8-try,dart2js-linux-chrome-try,dart2js-linux-firefox-try,dart2js-mac-chrome-try,dart2js-mac-safari-try,dart2js-minified-csp-linux-chrome-try,dart2js-minified-linux-d8-try,dart2js-unit-linux-x64-release-try,dart2js-win-chrome-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/481100 Reviewed-by: Nate Biggs <natebiggs@google.com>