[Lldb-commits] [PATCH] D16868: [lldb] Fix invalid shift operator overload in Scalar
Marianne Mailhot-Sarrasin via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 3 15:03:10 PST 2016
mamai created this revision.
mamai added a reviewer: sagar.
mamai added a subscriber: lldb-commits.
mamai set the repository for this revision to rL LLVM.
This also fixes an infinite recursion between lldb_private::operator>> () and Scalar::operator>>= ().
Repository:
rL LLVM
http://reviews.llvm.org/D16868
Files:
source/Core/Scalar.cpp
Index: source/Core/Scalar.cpp
===================================================================
--- source/Core/Scalar.cpp
+++ source/Core/Scalar.cpp
@@ -1875,7 +1875,7 @@
case e_sint128:
case e_uint128:
{
- m_integer >> *rhs.m_integer.getRawData();
+ m_integer = m_integer.ashr(*(const uint_t *)rhs.m_integer.getRawData());
break;
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16868.46841.patch
Type: text/x-patch
Size: 453 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160203/44ed8ff4/attachment-0001.bin>
More information about the lldb-commits
mailing list