diff options
| author | Ella Ma <alansnape3058@gmail.com> | 2021-02-26 21:42:23 +0300 |
|---|---|---|
| committer | Alexey Lapshin <a.v.lapshin@mail.ru> | 2021-02-27 10:14:39 +0300 |
| commit | df6fb4d392e530fbf9d4e331711c500d47980dcc (patch) | |
| tree | 49d4882fef0a53ccedeb98c1b8b1169dc61dac41 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 1d4a2f37785b98fd2321f6c3f684717596ce7377 (diff) | |
[llvm] Add assertions for the smart pointers with the possibility to be null in DWARFLinker::loadClangModule
Split from D91844.
The local variable `Unit` in function `DWARFLinker::loadClangModule`
in file `llvm/lib/DWARFLinker/DWARFLinker.cpp`. If the variable is not set
in the loop below its definition, it will trigger a null pointer dereference
after the loop.
Patch By: OikawaKirie
Reviewed By: avl
Differential Revision: https://reviews.llvm.org/D97185
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
