diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2025-07-01 15:56:22 -0700 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2025-07-01 16:01:38 -0700 |
commit | e89458d3985c1b612b8a64914c887a3ce3dd3509 (patch) | |
tree | 7b3a7b342ef73f9f510cf6ea56a0d588a5626390 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | e9c9f8f3748a1666dfd099da7990ebe4523778bf (diff) | |
download | llvm-e89458d3985c1b612b8a64914c887a3ce3dd3509.zip llvm-e89458d3985c1b612b8a64914c887a3ce3dd3509.tar.gz llvm-e89458d3985c1b612b8a64914c887a3ce3dd3509.tar.bz2 |
[lldb] Fix PipeTest name collision in unit tests
We had two classes named `PipeTest`: one in `PipeTestUtilities.h` and
one in `PipeTest.cpp`. The latter was unintentionally using the wrong
class (from the header) which didn't initialize the HostInfo subsystem.
This resulted in a crash due to a nullptr dereference (`g_fields`) when
`PipePosix::CreateWithUniqueName` called `HostInfoBase::GetProcessTempDir`.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions