diff options
author | Adrian Prantl <aprantl@apple.com> | 2019-01-28 21:44:35 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2019-01-28 21:44:35 +0000 |
commit | 2a56e97f741bf8fefa68692304a29c64f37c65b7 (patch) | |
tree | a2d623c9221d10d9087496e40315fa65df19b790 /lldb/source/Expression/Materializer.cpp | |
parent | 390ac61b930e745c4a7130a20ede62aa2370ffc0 (diff) | |
download | llvm-2a56e97f741bf8fefa68692304a29c64f37c65b7.zip llvm-2a56e97f741bf8fefa68692304a29c64f37c65b7.tar.gz llvm-2a56e97f741bf8fefa68692304a29c64f37c65b7.tar.bz2 |
Revert "Make Type::GetByteSize optional (NFC)"
This reverts commit r352394 because it broke three windows-specific tests.
llvm-svn: 352434
Diffstat (limited to 'lldb/source/Expression/Materializer.cpp')
-rw-r--r-- | lldb/source/Expression/Materializer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Expression/Materializer.cpp b/lldb/source/Expression/Materializer.cpp index 545dcdc..9b30109 100644 --- a/lldb/source/Expression/Materializer.cpp +++ b/lldb/source/Expression/Materializer.cpp @@ -537,8 +537,7 @@ public: "size of variable %s (%" PRIu64 ") is larger than the ValueObject's size (%" PRIu64 ")", m_variable_sp->GetName().AsCString(), - m_variable_sp->GetType()->GetByteSize().getValueOr(0), - data.GetByteSize()); + m_variable_sp->GetType()->GetByteSize(), data.GetByteSize()); } return; } |