-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[native_toolchain_c] Only use nm
to inspect symbols
#1473
Conversation
PR HealthBreaking changes ✔️
Changelog Entry ✔️
Changes to files need to be accounted for in their respective changelogs. API leaks ✔️The following packages contain symbols visible in the public API, but not exported by the library. Export these symbols or remove them from your publicly visible API.
License Headers ✔️
All source files should start with a license header. Unrelated files missing license headers
Package publish validation ✔️
Documentation at https://github.com/dart-lang/ecosystem/wiki/Publishing-automation. |
@@ -197,9 +197,6 @@ extension UnescapePath on String { | |||
String unescape() => replaceAll('\\', '/'); | |||
} | |||
|
|||
Future<String> readelfSymbols(String filePath) async => | |||
readelf(filePath, 'WCs'); | |||
|
|||
Future<String> readelfMachine(String path) async { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this still used anywhere or can it be deleted?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's still used, the flags needed for that are available. (Was already used in cbuilder tests before as well.)
We were using both
nm
andreadelf
to inspect symbols of dylibs. Apparently thereadelf
on the Dart SDK CI is pretty old and doesn't have-C
.log
Green run on Dart CI with this PR: https://dart-ci.firebaseapp.com/cl/382384/5