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

cmd/internal/obj: stop using as a dumping ground for shared code #20026

Closed
josharian opened this issue Apr 18, 2017 · 1 comment
Closed

cmd/internal/obj: stop using as a dumping ground for shared code #20026

josharian opened this issue Apr 18, 2017 · 1 comment

Comments

@josharian
Copy link
Contributor

cmd/internal/obj is already imported by the compiler, linker, assemblers, etc., so it is a convenient place to put shared helpers, such as Bool2int, SortSlice, and PathToPrefix, even though they don't really belong there. It might be time to do a bit of cleanup.

cc @tzneal @mdempsky

@josharian josharian added this to the Unplanned milestone Apr 18, 2017
@mdempsky mdempsky self-assigned this Apr 18, 2017
@mdempsky
Copy link
Member

I'm going to extract the common constants and helper functions into a new objabi package.

@golang golang locked and limited conversation to collaborators Apr 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants