[all-commits] [llvm/llvm-project] 9e56a0: [Driver] Create -ffile-compilation-dir alias

Petr Hosek via All-commits all-commits at lists.llvm.org
Thu Feb 25 21:35:32 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e56a093eeca15704180cce3a808aec195b331d1
      https://github.com/llvm/llvm-project/commit/9e56a093eeca15704180cce3a808aec195b331d1
  Author: Petr Hosek <phosek at google.com>
  Date:   2021-02-25 (Thu, 25 Feb 2021)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/test/Driver/clang_f_opts.c
    M clang/tools/driver/cc1as_main.cpp

  Log Message:
  -----------
  [Driver] Create -ffile-compilation-dir alias

We introduce -ffile-compilation-dir shorthand to avoid having to set
-fdebug-compilation-dir and -fprofile-compilation-dir separately. This
is similar to -ffile-prefix-map.

Differential Revision: https://reviews.llvm.org/D97433




More information about the All-commits mailing list