Clang] Fix expansion of response files in -Wp after integrated-cc1 change
commit68d7f06092e56b17eb0cddf560a9d9fe8afb7dd8
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>
Wed, 22 Jan 2020 21:53:38 +0000 (22 16:53 -0500)
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>
Wed, 22 Jan 2020 21:53:44 +0000 (22 16:53 -0500)
treecd69db01b5c8ba869860c424f652d982f82b6161
parented80c86c8854647ad6246544e3865e416ecfc451
Clang] Fix expansion of response files in -Wp after integrated-cc1 change

After rGb4a99a061f517e60985667e39519f60186cbb469, passing a response file such as -Wp,@a.rsp wasn't working anymore because .rsp expansion happens inside clang's main() function.

This patch adds response file expansion in the -cc1 tool.

Differential Revision: https://reviews.llvm.org/D73120
clang/include/clang/Driver/Driver.h
clang/test/Driver/Wp-args.c
clang/tools/driver/driver.cpp