[PATCH] D20119: [libunwind] Improve unwinder stack usage

Jonathan Roelofs via cfe-commits cfe-commits at lists.llvm.org
Tue May 17 07:54:34 PDT 2016

jroelofs added a comment.

Just one question, otherwise LGTM:

Comment at: src/UnwindCursor.hpp:580
@@ -579,3 +605,1 @@
       _isSignalFrame(false) {
-  static_assert(sizeof(UnwindCursor<A, R>) < sizeof(unw_cursor_t),
-                "UnwindCursor<> does not fit in unw_cursor_t");
Is there a good reason to move this static assert out to libunwind.cpp? ISTM it serves its purpose better here.


More information about the cfe-commits mailing list