[all-commits] [llvm/llvm-project] 223e99: [clang][deps] Fix module context hash for constant...
Ben Langmuir via All-commits
all-commits at lists.llvm.org
Fri Feb 3 15:15:47 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 223e99fb698dd63b5bb9266e11c2582261e05ad9
https://github.com/llvm/llvm-project/commit/223e99fb698dd63b5bb9266e11c2582261e05ad9
Author: Ben Langmuir <blangmuir at apple.com>
Date: 2023-02-03 (Fri, 03 Feb 2023)
Changed paths:
M clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
A clang/test/ClangScanDeps/Inputs/modules-context-hash/cdb_b2.json.template
M clang/test/ClangScanDeps/modules-context-hash.c
Log Message:
-----------
[clang][deps] Fix module context hash for constant strings
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
Differential Revision: https://reviews.llvm.org/D143027
More information about the All-commits
mailing list