================
@@ -20,7 +20,7 @@ LineEntry::LineEntry()
void LineEntry::Clear() {
range.Clear();
file.Clear();
- original_file.Clear();
+ original_file = std::make_shared<SupportFile>();
----------------
JDevlieghere wrote:
Correct, this ensures I can always assume that the shared pointer is valid. The
underlying FileSpec might be "empty" which matches the existing semantics.
https://github.com/llvm/llvm-project/pull/77999
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits