aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectMemory.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-06-20 23:35:53 -0700
committerKazu Hirata <kazu@google.com>2022-06-20 23:35:53 -0700
commited8fceaa09cd66324c6efc1070f962731a62e2dc (patch)
tree6f7182e7b1b5829a8586ef68a2c1d83bc5b0edc0 /lldb/source/Commands/CommandObjectMemory.cpp
parent2fcf99d703464882fec88324be7b08f78e004a3f (diff)
downloadllvm-ed8fceaa09cd66324c6efc1070f962731a62e2dc.zip
llvm-ed8fceaa09cd66324c6efc1070f962731a62e2dc.tar.gz
llvm-ed8fceaa09cd66324c6efc1070f962731a62e2dc.tar.bz2
Don't use Optional::getValue (NFC)
Diffstat (limited to 'lldb/source/Commands/CommandObjectMemory.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectMemory.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectMemory.cpp b/lldb/source/Commands/CommandObjectMemory.cpp
index ab54578..117b5f4 100644
--- a/lldb/source/Commands/CommandObjectMemory.cpp
+++ b/lldb/source/Commands/CommandObjectMemory.cpp
@@ -1750,8 +1750,7 @@ protected:
result.AppendMessageWithFormat(", ");
else
print_comma = true;
- result.AppendMessageWithFormat("0x%" PRIx64,
- dirty_page_list.getValue()[i]);
+ result.AppendMessageWithFormat("0x%" PRIx64, (*dirty_page_list)[i]);
}
result.AppendMessageWithFormat(".\n");
}