aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSteven Wu <stevenwu@apple.com>2025-07-31 10:39:06 -0700
committerGitHub <noreply@github.com>2025-07-31 10:39:06 -0700
commit441f5b0e367ceee5b8b12d14c0d1ebb1c29fa414 (patch)
tree63e692645ba89d2d58e31f4cad713f009ef9b1dc /clang/lib/Frontend/CompilerInvocation.cpp
parent91e0055c7c46d26356765a0e641c77920d85a26f (diff)
downloadllvm-441f5b0e367ceee5b8b12d14c0d1ebb1c29fa414.zip
llvm-441f5b0e367ceee5b8b12d14c0d1ebb1c29fa414.tar.gz
llvm-441f5b0e367ceee5b8b12d14c0d1ebb1c29fa414.tar.bz2
[clang] Infer compilation directory in driver
When building with -fdebug-compilation-dir/-fcoverige-compilation-dir, infer the compilation directory in clang driver, rather than try to fallback to VFS current working directory lookup during CodeGen. This allows compilation directory to be used as it is passed via cc1 flag and the value can be empty to remove dependency on CWD if needed. Reviewers: adrian-prantl, dwblaikie Reviewed By: adrian-prantl, dwblaikie Pull Request: https://github.com/llvm/llvm-project/pull/150112
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions