[ThinLTOCodeGenerator] Add support for index-based WPD
authorEugene Leviant <eleviant@accesssoftek.com>
Fri, 18 Oct 2019 11:58:21 +0000 (11:58 +0000)
committerEugene Leviant <eleviant@accesssoftek.com>
Fri, 18 Oct 2019 11:58:21 +0000 (11:58 +0000)
commitbc887a8d4a379625f9abf3d53cfa56fb1d26e78d
treee22c14f7393c223f6ba09f0cfeb2d393b715fa27
parent84da2596f96d388e9cd21d16e64687bca68f436a
[ThinLTOCodeGenerator] Add support for index-based WPD

This is clang part of the patch. It adds -flto-unit flag for thin LTO
builds on Mac and PS4

Differential revision: https://reviews.llvm.org/D68950

llvm-svn: 375224
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Driver/lto-unit.c