reland "add -fthinlto-index= option to clang-cl"
authorBob Haarman <llvm@inglorion.net>
Tue, 16 Jul 2019 01:35:49 +0000 (01:35 +0000)
committerBob Haarman <llvm@inglorion.net>
Tue, 16 Jul 2019 01:35:49 +0000 (01:35 +0000)
commit492ce8cc8b0831924f7f0479f37f2e708a8dad3f
treebd6e4f803a1fe3628f29037099de24ab9eee230f
parentca16d280f7ed9509398ba8869a123c9f8ede72f7
reland "add -fthinlto-index= option to clang-cl"

Summary:
This is a reland of r366146, adding in the previously missing '--'
flag that prevents filenames from being interpreted as flags.

Original description:
This adds a -fthinlto-index= option to clang-cl, which allows it to
be used to drive ThinLTO backend passes. This allows clang-cl to be
used for distributed ThinLTO.

Tags: #clang
llvm-svn: 366165
clang/include/clang/Driver/Options.td
clang/test/Driver/cl-thinlto-backend.c [new file with mode: 0644]