mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 20:16:05 +00:00

When` SmallVector<char>` is used as a backing storage, it can't be assumed to end with a \x0. When creating a `StringRef` from it, pass the length explicitly. This was detected by address sanitizer.