Skip to content
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

[SR-407] Support ELF in cmpcodesize #43024

Open
modocache mannequin opened this issue Dec 29, 2015 · 2 comments
Open

[SR-407] Support ELF in cmpcodesize #43024

modocache mannequin opened this issue Dec 29, 2015 · 2 comments
Labels

Comments

@modocache
Copy link
Mannequin

modocache mannequin commented Dec 29, 2015

Previous ID SR-407
Radar None
Original Reporter @modocache
Type Improvement
Additional Detail from JIRA
Votes 0
Component/s
Labels Improvement, StarterBug
Assignee None
Priority Medium

md5: 47c497e6ac62c1fc388cf821f38e6cd3

Issue Description:

In #638 Nadav Rotem mentions supporting ELF as a potential feature for cmpcodesize.

cmpcodesize is a tool used by the Swift performance team to measure the size of built Swift products. It would be useful to see the size of built products on Linux (ELF) as well as on OS X (Mach-O, which cmpcodesize currently supports).

While the script currently uses otool (available on OS X), the readelf executable could be used to analyze files linked with ELF. readelf is available on Linux.

The script could detect the current platform and use the appropriate executable.

@belkadan
Copy link
Contributor

belkadan commented Jan 4, 2016

Removed "Tooling" keyword; this refers to user-facing tooling like SourceKit.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@TheBlckbird
Copy link

Where are the files for cmpcodesize?
I am completely new here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants