aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectFrame.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-07-15 20:03:13 -0700
committerKazu Hirata <kazu@google.com>2022-07-15 20:03:13 -0700
commit5cff5142a894a184d5eef05339e1a5b41fb4c144 (patch)
tree1c2122c14f7f9c7dc33b866dd8eeba2470fff9f3 /lldb/source/Commands/CommandObjectFrame.cpp
parent3b0dce5b8b1596c50360952a8fb031d52562ccf6 (diff)
downloadllvm-5cff5142a894a184d5eef05339e1a5b41fb4c144.zip
llvm-5cff5142a894a184d5eef05339e1a5b41fb4c144.tar.gz
llvm-5cff5142a894a184d5eef05339e1a5b41fb4c144.tar.bz2
Use value instead of getValue (NFC)
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectFrame.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectFrame.cpp b/lldb/source/Commands/CommandObjectFrame.cpp
index 8fdf8b0..23954dd 100644
--- a/lldb/source/Commands/CommandObjectFrame.cpp
+++ b/lldb/source/Commands/CommandObjectFrame.cpp
@@ -144,10 +144,10 @@ protected:
"`frame diagnose --address` is incompatible with other arguments.");
return false;
}
- valobj_sp = frame_sp->GuessValueForAddress(m_options.address.getValue());
+ valobj_sp = frame_sp->GuessValueForAddress(m_options.address.value());
} else if (m_options.reg) {
valobj_sp = frame_sp->GuessValueForRegisterAndOffset(
- m_options.reg.getValue(), m_options.offset.value_or(0));
+ m_options.reg.value(), m_options.offset.value_or(0));
} else {
StopInfoSP stop_info_sp = thread->GetStopInfo();
if (!stop_info_sp) {