[PATCH] D97433: [Driver] Create -ffile-compilation-dir alias

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 24 18:07:24 PST 2021


phosek created this revision.
phosek added reviewers: MaskRay, rnk.
Herald added subscribers: jansvoboda11, dang.
phosek requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D97433

Files:
  clang/include/clang/Driver/Options.td
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/Driver/ToolChains/CommonArgs.cpp
  clang/test/CodeGen/debug-info-compilation-dir.c
  clang/test/CodeGen/profile-compilation-dir.c
  clang/test/Driver/clang_f_opts.c
  clang/tools/driver/cc1as_main.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97433.326258.patch
Type: text/x-patch
Size: 5906 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210225/7cb607ec/attachment.bin>


More information about the cfe-commits mailing list