This is an archive of the discontinued LLVM Phabricator instance.

[Serialization] Remove `ORIGINAL_PCH_DIR` record
ClosedPublic

Authored by akyrtzi on Aug 3 2022, 3:29 PM.

Details

Summary

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.

Diff Detail

Event Timeline

akyrtzi created this revision.Aug 3 2022, 3:29 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2022, 3:29 PM
akyrtzi requested review of this revision.Aug 3 2022, 3:29 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2022, 3:29 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
This revision is now accepted and ready to land.Aug 3 2022, 6:24 PM
This revision was automatically updated to reflect the committed changes.
clang/lib/Serialization/GeneratePCH.cpp