diff options
| author | Kazu Hirata <kazu@google.com> | 2022-06-20 23:35:53 -0700 |
|---|---|---|
| committer | Kazu Hirata <kazu@google.com> | 2022-06-20 23:35:53 -0700 |
| commit | ed8fceaa09cd66324c6efc1070f962731a62e2dc (patch) | |
| tree | 6f7182e7b1b5829a8586ef68a2c1d83bc5b0edc0 /lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp | |
| parent | 2fcf99d703464882fec88324be7b08f78e004a3f (diff) | |
Don't use Optional::getValue (NFC)
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp')
| -rw-r--r-- | lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp index 429c68a9dc78..5324a2c0bf51 100644 --- a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp +++ b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp @@ -849,7 +849,7 @@ bool NativeProcessLinux::MonitorClone(NativeThreadLinux &parent, auto tgid_ret = getPIDForTID(child_pid); if (tgid_ret != child_pid) { // A new thread should have PGID matching our process' PID. - assert(!tgid_ret || tgid_ret.getValue() == GetID()); + assert(!tgid_ret || *tgid_ret == GetID()); NativeThreadLinux &child_thread = AddThread(child_pid, /*resume*/ true); ThreadWasCreated(child_thread); |
