This is an archive of the discontinued LLVM Phabricator instance.

[clang] serialize SUBMODULE_TOPHEADER relative to BaseDirectory
ClosedPublic

Authored by rmaz on May 4 2022, 9:51 AM.

Details

Summary

This diff changes the serialization of the SUBMODULE_TOPHEADER
entry in module files to be serialized relative to the module's
BaseDirectory. This matches the behavior of the
SUBMODULE_HEADER entry and will allow for the module to be
relocatable across machines.

The path is restored relative to the module's BaseDirectory on
deserialization.

Diff Detail

Event Timeline

rmaz created this revision.May 4 2022, 9:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 4 2022, 9:51 AM
rmaz requested review of this revision.May 4 2022, 9:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 4 2022, 9:51 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
This revision is now accepted and ready to land.May 10 2022, 7:13 AM