This revision was automatically updated to reflect the committed changes.
Closed by commit rL363548: Promote -fdebug-compilation-dir from a cc1 flag to
clang and clang-cl driver… (authored by nico, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prio
hans accepted this revision.
hans added a comment.
This revision is now accepted and ready to land.
lgtm
Comment at: clang/include/clang/Driver/Options.td:717
+def fdebug_compilation_dir : Separate<["-"], "fdebug-compilation-dir">,
+Group, Flags<[CC1Option, CC1AsOption, Cor
thakis created this revision.
thakis added reviewers: hans, rnk.
Herald added a subscriber: aprantl.
The flag is useful when wanting to create .o files that are independent
from the absolute path to the build directory. -fdebug-prefix-map= can
be used to the same effect, but it requires putting th