Fixes https://reviews.llvm.org/D70378#2299569 Multiple -mllvm is intended to be supported.
We don't have a proper test for -plugin-opt=-. This patch adds the test as well.
Paths
| Differential D88461
[ELF] Fix multiple -mllvm after D70378 ClosedPublic Authored by MaskRay on Sep 28 2020, 6:26 PM.
Details Summary Fixes https://reviews.llvm.org/D70378#2299569 Multiple -mllvm is intended to be supported. We don't have a proper test for -plugin-opt=-. This patch adds the test as well.
Diff Detail
Event TimelineHerald added subscribers: llvm-commits, dexonsmith, steven_wu and 3 others. · View Herald Transcript Comment Actions Looks good with one minor comment.
This revision is now accepted and ready to land.Sep 29 2020, 10:09 AM This revision was landed with ongoing or failed builds.Sep 29 2020, 10:27 AM Closed by commit rG259bb61c118b: [ELF] Fix multiple -mllvm after D70378 (authored by MaskRay). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 294858 lld/ELF/Driver.cpp
lld/test/ELF/lto/mllvm.ll
|
I would put this line just above the comment, because it has to do more with options in general, rather than LTO options specifically, but that's my preference.