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
Paths
| Differential D143027
[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 rdar://101053855
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jan 31 2023, 4:03 PM This revision was landed with ongoing or failed builds.Feb 3 2023, 3:15 PM Closed by commit rG223e99fb698d: [clang][deps] Fix module context hash for constant strings (authored by benlangmuir). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 493764 clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
clang/test/ClangScanDeps/Inputs/modules-context-hash/cdb_b2.json.template
clang/test/ClangScanDeps/modules-context-hash.c
|