aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
diff options
context:
space:
mode:
authorEmmmer <yjhdandan@163.com>2022-08-16 15:35:38 +0800
committerEmmmer <yjhdandan@163.com>2022-08-16 23:41:00 +0800
commit95e2949a5352aea0182ba5295bf9ba46080c261e (patch)
tree6e0fc45cf5566ae8d75ae8d350135e3f031ab775 /lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
parent1638ad1ebfa818a454aad35e52a0912aba6172e6 (diff)
downloadllvm-95e2949a5352aea0182ba5295bf9ba46080c261e.zip
llvm-95e2949a5352aea0182ba5295bf9ba46080c261e.tar.gz
llvm-95e2949a5352aea0182ba5295bf9ba46080c261e.tar.bz2
[LLDB] Fix possible nullptr exception
Some architectures do not have a flag register (like riscv). In this case, we should set it to `baton.m_register_values.end()` to avoid nullptr exception. Reviewed By: DavidSpickett Differential Revision: https://reviews.llvm.org/D131945
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp')
0 files changed, 0 insertions, 0 deletions