llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.75k stars 11.89k forks source link

[LTO] Try to be option compatible with the gold plugin #30068

Closed llvmbot closed 4 years ago

llvmbot commented 8 years ago
Bugzilla Link 30720
Resolution FIXED
Resolved on Aug 01, 2020 18:45
Version unspecified
OS All
Depends On llvm/llvm-project#27926
Reporter LLVM Bugzilla Contributor
CC @MaskRay,@silvasean

Extended Description

ThinLTO landed, and Sean pointed out that we currently ignore --plugin-opt and we could instead change LLD to DTRT (i.e. parse plugin-opt arguments and alias to existing lld options). There's an agreement this is a good thing to do, so let's keep track of this here.

llvmbot commented 6 years ago

Reopening. Probably I was too fast when closing this. There is still a list of options that are handled manually and even if we don't need them, r324322 would not catch all possible new options if any.

llvmbot commented 6 years ago

With r324322 I believe we are automatically compatible with gold plugin options now.

llvmbot commented 7 years ago

Do we need to implement anything else here ?

llvmbot commented 7 years ago

Possible patch for some of options: https://reviews.llvm.org/D36227