[all-commits] [llvm/llvm-project] f7aa1c: [clang] Canonicalizing `-include-pch` input in the...

Qiongsi Wu via All-commits all-commits at lists.llvm.org
Fri Feb 6 14:42:06 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f7aa1cdc9b91493c56425505faa0cec3dfac5441
      https://github.com/llvm/llvm-project/commit/f7aa1cdc9b91493c56425505faa0cec3dfac5441
  Author: Qiongsi Wu <qiongsiwu at gmail.com>
  Date:   2026-02-06 (Fri, 06 Feb 2026)

  Changed paths:
    M clang/lib/Frontend/FrontendAction.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/test/Modules/validate-file-content.m
    M clang/test/PCH/debug-info-pch-path.c
    M clang/test/PCH/modified-module-dependency.m
    A clang/test/PCH/pch-input-path-independent.c
    M clang/test/PCH/validate-file-content.m

  Log Message:
  -----------
  [clang] Canonicalizing `-include-pch` input in the Frontend (#180065)

This patch adds logic to canonicalize `-include-pch`'s input in the
frontend. This way, the `ASTWriter` always serializes the canonicalized
path to the included pch file whether the input is an absolute path or a
relative path.

Fixes rdar://168596546.



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