summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ValueObjectMemory.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2019-08-08 19:22:32 +0000
committerAdrian Prantl <aprantl@apple.com>2019-08-08 19:22:32 +0000
commitd9cbd2acfa7d205788c43abdc66f6ee9680748ce (patch)
treec1bced2a16782b558a796afa745c33d4ae0d63c8 /lldb/source/Core/ValueObjectMemory.cpp
parent87e2c9147e6d2ce0edda68db56ff7f3b3b701d4a (diff)
downloadbcm5719-llvm-d9cbd2acfa7d205788c43abdc66f6ee9680748ce.tar.gz
bcm5719-llvm-d9cbd2acfa7d205788c43abdc66f6ee9680748ce.zip
Remove unused and undocumented data_offset parameter (NFC)
Value::GetValueAsData() takes an undocumented parameter called data_offset that is always 0. Differential Revision: https://reviews.llvm.org/D65910 llvm-svn: 368330
Diffstat (limited to 'lldb/source/Core/ValueObjectMemory.cpp')
-rw-r--r--lldb/source/Core/ValueObjectMemory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Core/ValueObjectMemory.cpp b/lldb/source/Core/ValueObjectMemory.cpp
index 95d4330ee0c..1a316bf3e7b 100644
--- a/lldb/source/Core/ValueObjectMemory.cpp
+++ b/lldb/source/Core/ValueObjectMemory.cpp
@@ -168,7 +168,7 @@ bool ValueObjectMemory::UpdateValue() {
case Value::eValueTypeScalar:
// The variable value is in the Scalar value inside the m_value. We can
// point our m_data right to it.
- m_error = m_value.GetValueAsData(&exe_ctx, m_data, 0, GetModule().get());
+ m_error = m_value.GetValueAsData(&exe_ctx, m_data, GetModule().get());
break;
case Value::eValueTypeFileAddress:
@@ -209,7 +209,7 @@ bool ValueObjectMemory::UpdateValue() {
value.SetCompilerType(m_compiler_type);
}
- m_error = value.GetValueAsData(&exe_ctx, m_data, 0, GetModule().get());
+ m_error = value.GetValueAsData(&exe_ctx, m_data, GetModule().get());
}
break;
}
OpenPOWER on IntegriCloud