Files
llvm-project/lldb/source/Core/SourceManager.cpp
Jonas Devlieghere a73de982a9 [lldb] Handle not being able to read a file in the SourceManager (#174346)
Even if a file has a valid modification time, it's possible that reading
the data fails. The SourceManager wasn't accounting for that, which
would result in a crash due to an unchecked read from a null `data_sp`.

We were seeing the issue when trying to read from a buggy virtual file
system, but presumably the same thing can happen with a poorly timed
unmount of a drive.

rdar://166414707
2026-01-04 14:47:23 -06:00

30 KiB