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

Move gccld optimization functionality to llvm-ld #1525

Closed
llvmbot opened this issue Feb 1, 2007 · 5 comments
Closed

Move gccld optimization functionality to llvm-ld #1525

llvmbot opened this issue Feb 1, 2007 · 5 comments
Labels
bugzilla Issues migrated from bugzilla enhancement Improving things as opposed to bug fixing, e.g. new or missing feature llvm-tools All llvm tools that do not have corresponding tag

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Feb 1, 2007

Bugzilla Link 1153
Resolution FIXED
Resolved on Feb 22, 2010 12:49
Version trunk
OS All
Reporter LLVM Bugzilla Contributor

Extended Description

This is a sister bug to bug 1152. The optimizations that gccld performs should
be available with a single command line option such as -std-lto-passes. The
linking capability of gccld will not be moved as it is redundant with llvm-link
and llvm-ld.

@lattner
Copy link
Collaborator

lattner commented Feb 1, 2007

crazy idea, why not replace gccld with llvm-ld?

-Chris

@llvmbot
Copy link
Collaborator Author

llvmbot commented Feb 1, 2007

Because that puts the optimizations in llvm-ld and makes it much larger?
However, if we did this, at least the linker part wouldn't be redundant. It also
makes sense to have LTO optimizations directly in the linker. Hmm .. okay, I
think you're right :)

@lattner
Copy link
Collaborator

lattner commented Feb 1, 2007

The point is that llvm-link doesn't handle archives, opt doesn't link, and llvm-ld is otherwise redundant.
Replacing gccld with a combination of llvm-ld and opt is fine.

-Chris

@llvmbot
Copy link
Collaborator Author

llvmbot commented Feb 8, 2007

Hmm, perhaps llvm-ld should link in the LTO library and invoke its
optimizations. That way there's only one place to maintain the "standard"
link-time optimizations that we run.

@llvmbot
Copy link
Collaborator Author

llvmbot commented Feb 9, 2007

gccld has been replaced with a script:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070205/044210.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070205/044211.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070205/044212.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070205/044231.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070205/044232.html

llvm-ld has been made to accept same args as gccld:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070205/044189.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070205/044192.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070205/044209.html

llvm-test suite has been updated:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070205/044214.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070205/044215.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070205/044216.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070205/044217.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070205/044218.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070205/044219.html

documentation has been updated:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070205/044220.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070205/044221.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070205/044234.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070205/044236.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070205/044237.html

Sounds done to me.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
@Endilll Endilll added enhancement Improving things as opposed to bug fixing, e.g. new or missing feature and removed new-feature labels Aug 15, 2023
troelsbjerre pushed a commit to troelsbjerre/llvm-project that referenced this issue Jan 10, 2024
[lldb/interpreter] Add ability to save lldb session to a file
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla enhancement Improving things as opposed to bug fixing, e.g. new or missing feature llvm-tools All llvm tools that do not have corresponding tag
Projects
None yet
Development

No branches or pull requests

3 participants