This is an archive of the discontinued LLVM Phabricator instance.

[clang] sort additional module maps when serializing
ClosedPublic

Authored by rmaz on Sep 9 2022, 1:17 PM.

Details

Summary

Sort additional module maps when serializing pcm files. This ensures
the MODULE_MAP_FILE record is deterministic across repeated builds.

Diff Detail

Event Timeline

rmaz created this revision.Sep 9 2022, 1:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 9 2022, 1:17 PM
Herald added a subscriber: mgrang. · View Herald Transcript
rmaz requested review of this revision.Sep 9 2022, 1:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 9 2022, 1:17 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
benlangmuir accepted this revision.Sep 9 2022, 1:49 PM

Good catch.

This revision is now accepted and ready to land.Sep 9 2022, 1:49 PM
rmaz updated this revision to Diff 459492.Sep 12 2022, 9:39 AM

clang-format

This revision was automatically updated to reflect the committed changes.