summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Utility
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2017-03-23 09:52:26 +0000
committerBruce Mitchener <bruce.mitchener@gmail.com>2017-03-23 09:52:26 +0000
commitef4536c38968517405a4429bacf5be0add0ea99e (patch)
tree8adcba1d45770668658bc5acc32676e716ccc327 /lldb/source/Plugins/Process/Utility
parent93683b6aff93b938c2d996a5b39ada20e12e751d (diff)
downloadbcm5719-llvm-ef4536c38968517405a4429bacf5be0add0ea99e.tar.gz
bcm5719-llvm-ef4536c38968517405a4429bacf5be0add0ea99e.zip
Fix warnings from clang build on macOS.
Reviewers: lldb-commits Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D31279 llvm-svn: 298585
Diffstat (limited to 'lldb/source/Plugins/Process/Utility')
-rw-r--r--lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp b/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp
index d1bc33dbabd..5e933d3b3de 100644
--- a/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp
+++ b/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp
@@ -281,6 +281,7 @@ DynamicRegisterInfo::SetRegisterInfo(const StructuredData::Dictionary &dict,
// Swap "dwarf_opcode_string" over into "opcode_extractor"
opcode_extractor.GetStringRef().swap(dwarf_opcode_string);
uint32_t ret_val = opcode_extractor.GetHexBytesAvail(dwarf_opcode_bytes);
+ UNUSED_IF_ASSERT_DISABLED(ret_val);
assert(ret_val == reg_info.dynamic_size_dwarf_len);
for (j = 0; j < reg_info.dynamic_size_dwarf_len; ++j)
OpenPOWER on IntegriCloud