[all-commits] [llvm/llvm-project] 85ee70: Clang] Fix expansion of response files in -Wp afte...

Alexandre Ganea via All-commits all-commits at lists.llvm.org
Thu Jan 23 09:20:00 PST 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 85ee70e86456e3bcb3c706c404db497c5a448602
      https://github.com/llvm/llvm-project/commit/85ee70e86456e3bcb3c706c404db497c5a448602
  Author: Alexandre Ganea <alexandre.ganea at ubisoft.com>
  Date:   2020-01-23 (Thu, 23 Jan 2020)

  Changed paths:
    M clang/include/clang/Driver/Driver.h
    M clang/test/Driver/Wp-args.c
    M clang/tools/driver/driver.cpp

  Log Message:
  -----------
  Clang] Fix expansion of response files in -Wp after integrated-cc1 change

After rGb4a99a061f517e60985667e39519f60186cbb469, passing a response file such as -Wp, at 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

(cherry picked from commit 68d7f06092e56b17eb0cddf560a9d9fe8afb7dd8)




More information about the All-commits mailing list