Commit 02f8341
committed
[Serialization] Return a nullptr instead of crashing
We got LLDB crash logs where `importer` is dereferenced. In the same crash log
the parent frame correctly checks for nullptr, so this would fix the immediate
crash. In LLDB it is not guaranteed that a ClagnImporter is installed at all
times.
rdar://166224928
(cherry picked from commit 9f59903)1 parent 18861a3 commit 02f8341
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3114 | 3114 | | |
3115 | 3115 | | |
3116 | 3116 | | |
| 3117 | + | |
| 3118 | + | |
3117 | 3119 | | |
3118 | 3120 | | |
3119 | 3121 | | |
| |||
0 commit comments