[PATCH] D42733: [ELF] - Use InitTargetOptionsFromCodeGenFlags/ParseCommandLineOptions for parsing LTO options.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 31 06:10:01 PST 2018


grimar created this revision.
grimar added reviewers: ruiu, espindola.
Herald added subscribers: inglorion, emaste.

gold plugin uses InitTargetOptionsFromCodeGenFlags + 
ParseCommandLineOptions for parsing LTO options.
Patch do the same change for LLD.

Such change helps to avoid parsing/whitelisting LTO
plugin options again on linker side, what can help LLD
to automatically support new -plugin-opt=xxx options
passed.


https://reviews.llvm.org/D42733

Files:
  ELF/Driver.cpp
  ELF/Driver.h
  test/ELF/lto-plugin-ignore.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42733.132159.patch
Type: text/x-patch
Size: 4214 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180131/43144cb4/attachment.bin>


More information about the llvm-commits mailing list