[PATCH] D67782: [ELF] accept thinlto options without --plugin-opt= prefix
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 24 17:56:25 PDT 2019
ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: lld/ELF/Driver.cpp:760-761
+static StringRef getAliasSpelling(llvm::opt::Arg *arg) {
+ if (const llvm::opt::Arg *alias = arg->getAlias())
+ return alias->getSpelling();
----------------
I believe you can omit `llvm::`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67782/new/
https://reviews.llvm.org/D67782
More information about the llvm-commits
mailing list