This is an archive of the discontinued LLVM Phabricator instance.

[clang][deps] Fix module context hash for constant strings
ClosedPublic

Authored by benlangmuir on Jan 31 2023, 3:57 PM.

Details

Summary

We were not hashing constant strings in the command-line, only ones that
required allocations. This was causing us to get the same hash across
different flag options.

rdar://101053855

Diff Detail

Event Timeline

benlangmuir created this revision.Jan 31 2023, 3:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 31 2023, 3:57 PM
benlangmuir requested review of this revision.Jan 31 2023, 3:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 31 2023, 3:57 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
This revision is now accepted and ready to land.Jan 31 2023, 4:03 PM
Bigcheese accepted this revision.Jan 31 2023, 4:18 PM

Thanks for fixing this. LGTM.

This revision was landed with ongoing or failed builds.Feb 3 2023, 3:15 PM
This revision was automatically updated to reflect the committed changes.