diff options
author | Emmmer <yjhdandan@163.com> | 2022-08-16 15:35:38 +0800 |
---|---|---|
committer | Emmmer <yjhdandan@163.com> | 2022-08-16 23:41:00 +0800 |
commit | 95e2949a5352aea0182ba5295bf9ba46080c261e (patch) | |
tree | 6e0fc45cf5566ae8d75ae8d350135e3f031ab775 /lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp | |
parent | 1638ad1ebfa818a454aad35e52a0912aba6172e6 (diff) | |
download | llvm-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