[all-commits] [llvm/llvm-project] 3c0849: [clang][CodeGen] Remove CWD fallback in compilatio...

Steven Wu via All-commits all-commits at lists.llvm.org
Thu Jul 31 16:33:05 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c08498fe23560c3b638fbd3b286bce406cb07f8
      https://github.com/llvm/llvm-project/commit/3c08498fe23560c3b638fbd3b286bce406cb07f8
  Author: Steven Wu <stevenwu at apple.com>
  Date:   2025-07-31 (Thu, 31 Jul 2025)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/CodeGen/CGDebugInfo.h
    M clang/lib/CodeGen/CoverageMappingGen.cpp
    M clang/test/CodeGen/debug-info-abspath.c
    M clang/test/CodeGen/debug-info-compilation-dir.c
    M clang/test/CodeGen/debug-prefix-map.c
    M clang/test/CodeGenCXX/debug-info-function-context.cpp
    M clang/test/CodeGenCXX/difile_entry.cpp
    M clang/test/PCH/debug-info-pch-container-path.c
    M clang/test/PCH/debug-info-pch-path.c
    M clang/test/Profile/coverage-prefix-map.c
    M clang/unittests/Frontend/CodeGenActionTest.cpp

  Log Message:
  -----------
  [clang][CodeGen] Remove CWD fallback in compilation directory (#150130)

CWD is queried in clang driver and passed to clang cc1 via flags when
needed. Respect the cc1 flags and do not repeated checking current
working directory in CodeGen.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list