This is an archive of the discontinued LLVM Phabricator instance.

Track the RequestingModule in the HeaderSearch LookupFile cache.
ClosedPublic

Authored by rsmith on Jul 21 2023, 2:55 PM.

Details

Summary

Different requesting modules can have different lookup results, so don't
cache results across modules.

Fixes a regression introduced in reviews.llvm.org/D132779.

Test case based on one provided by Jan Svoboda.

Diff Detail

Event Timeline

rsmith created this revision.Jul 21 2023, 2:55 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 21 2023, 2:55 PM
rsmith requested review of this revision.Jul 21 2023, 2:55 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 21 2023, 2:55 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
jansvoboda11 accepted this revision.Jul 21 2023, 3:39 PM

LGTM, thanks for the quick turnaround!

This revision is now accepted and ready to land.Jul 21 2023, 3:39 PM
This revision was landed with ongoing or failed builds.Jul 21 2023, 3:50 PM
This revision was automatically updated to reflect the committed changes.