unwind: use sizeof() instead of hardcoded sizes
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 13 Feb 2015 17:36:11 +0000 (17:36 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 13 Feb 2015 17:36:11 +0000 (17:36 +0000)
commitebfe815f5ca29dfd196af9077156b51bdbd01660
tree0d57376764cc9fb782b47ad273fe70e5db9edfa9
parentcc39d3f4bd1e457b8356d68d9e083e3d39c04e8d
unwind: use sizeof() instead of hardcoded sizes

The statically allocated strings have a fixed size which can be computed using
the sizeof operator rather than duplicating the allocation size which can drift.
NFC.

llvm-svn: 229126
libcxxabi/src/Unwind/Unwind-EHABI.cpp
libcxxabi/src/Unwind/UnwindLevel1.c