Ben Langmuir 223e99fb69 [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
2023-02-03 15:10:19 -08:00

8 lines
182 B
Plaintext

[
{
"directory": "DIR",
"command": "clang -c DIR/tu.c -fmodules -fmodules-cache-path=DIR/cache -IDIR/b -o DIR/tu_b.o -fapplication-extension",
"file": "DIR/tu.c"
}
]