================
@@ -615,6 +615,10 @@ Interpreter::EvaluateScalarOp(BinaryOpKind kind,
lldb::ValueObjectSP lhs,
return value_object(l / r);
case BinaryOpKind::Rem:
return value_object(l % r);
+ case BinaryOpKind::Shl:
+ return value_object(l << r);
----------------
adrian-prantl wrote:
Do we validate that r is in the valid range and is always UBSAN-safe? (Same
question for the / and % cases above!)
https://github.com/llvm/llvm-project/pull/192506
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits