[all-commits] [llvm/llvm-project] 6635f4: [Serialization] Remove `ORIGINAL_PCH_DIR` record

Argyrios Kyrtzidis via All-commits all-commits at lists.llvm.org
Fri Aug 5 15:40:48 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6635f48e4aba499a7a31c6346cb1351437d36055
      https://github.com/llvm/llvm-project/commit/6635f48e4aba499a7a31c6346cb1351437d36055
  Author: Argyrios Kyrtzidis <kyrtzidis at apple.com>
  Date:   2022-08-05 (Fri, 05 Aug 2022)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Frontend/FrontendOptions.h
    M clang/include/clang/Serialization/ASTBitCodes.h
    M clang/include/clang/Serialization/ASTWriter.h
    M clang/include/clang/Serialization/ModuleFile.h
    M clang/lib/Frontend/FrontendActions.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Serialization/GeneratePCH.cpp
    R clang/test/Modules/relative-original-dir.m
    M clang/test/PCH/pch-output-path-independent.c

  Log Message:
  -----------
  [Serialization] Remove `ORIGINAL_PCH_DIR` record

Use of `ORIGINAL_PCH_DIR` record has been superseeded by making PCH/PCM files with relocatable paths at write time.
Removing this record is useful for producing an output-path-independent PCH file and enable sharing of the same PCH file even
when it was intended for a different output path.

Differential Revision: https://reviews.llvm.org/D131124




More information about the All-commits mailing list