Hi,

here's a minor 1-line patch that fixes what seems to be a bug in the
Registers_arm64 constructor. All libcxxabi tests still pass with this
change.

Nico
Index: src/Unwind/Registers.hpp
===================================================================
--- src/Unwind/Registers.hpp    (revision 196539)
+++ src/Unwind/Registers.hpp    (working copy)
@@ -1066,7 +1066,7 @@
 
 inline Registers_arm64::Registers_arm64() {
   bzero(&_registers, sizeof(_registers));
-  bzero(&_registers, sizeof(_vectorHalfRegisters));
+  bzero(&_vectorHalfRegisters, sizeof(_vectorHalfRegisters));
 }
 
 inline bool Registers_arm64::validRegister(int regNum) const {
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to