llvm-project
135d14c6 - [clang][deps] Value-compare buffers in the in-process module cache (#194888)

Commit
28 days ago
[clang][deps] Value-compare buffers in the in-process module cache (#194888) The `MemoryBufferRef::operator==()` function performs pointer comparison instead of value comparison. This means that the assertion in `InProcessModuleCache` always fires if there's a race between two producers of a PCM. This PR makes sure to value-compare the contained `StringRef` buffers.
Author
Parents
Loading