[Driver] Allow -specs and -nostartfiles to be forwarded to GCC
authorPengxuan Zheng <pzheng@quicinc.com>
Fri, 4 Sep 2020 20:56:06 +0000 (13:56 -0700)
committerPengxuan Zheng <pzheng@quicinc.com>
Fri, 4 Sep 2020 22:09:33 +0000 (15:09 -0700)
commit2bccd2b4350f887cc7fea1cc488690f58186c440
treeafdbbe21a04cc4d644e536f8738f14da13946ddb
parent7cfc8f0c7c2440ea8aa722304f9e6ef32472833b
[Driver] Allow -specs and -nostartfiles to be forwarded to GCC

With 6a75496836ea14bcfd2f4b59d35a1cad4ac58cee, these two options are no longer
forwarded to GCC. This patch restores the original behavior.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D87162
clang/include/clang/Driver/Options.td
clang/test/Driver/gcc_forward.c