diff options
author | Eric Christopher <echristo@gmail.com> | 2020-07-25 18:42:04 -0700 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2020-07-25 18:42:04 -0700 |
commit | 4b14ef33e81c01632e848e7a67ccc6b11fb4c595 (patch) | |
tree | b7dfdff5f0301284e74e74a098cf347fd4ae6647 /lldb/source/Commands/CommandObjectWatchpoint.cpp | |
parent | 18975762c1974047baeeacb17879416410012a31 (diff) | |
download | llvm-4b14ef33e81c01632e848e7a67ccc6b11fb4c595.zip llvm-4b14ef33e81c01632e848e7a67ccc6b11fb4c595.tar.gz llvm-4b14ef33e81c01632e848e7a67ccc6b11fb4c595.tar.bz2 |
Temporarily Revert "Unify the return value of GetByteSize to an llvm::Optional<uint64_t> (NFC-ish)"
as it's causing numerous (176) test failures on linux.
This reverts commit 1d9b860fb6a85df33fd52fcacc6a5efb421621bd.
Diffstat (limited to 'lldb/source/Commands/CommandObjectWatchpoint.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectWatchpoint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectWatchpoint.cpp b/lldb/source/Commands/CommandObjectWatchpoint.cpp index c2a008a..ce46629 100644 --- a/lldb/source/Commands/CommandObjectWatchpoint.cpp +++ b/lldb/source/Commands/CommandObjectWatchpoint.cpp @@ -905,7 +905,7 @@ protected: // We're in business. // Find out the size of this variable. size = m_option_watchpoint.watch_size == 0 - ? valobj_sp->GetByteSize().getValueOr(0) + ? valobj_sp->GetByteSize() : m_option_watchpoint.watch_size; } compiler_type = valobj_sp->GetCompilerType(); |