rnk added inline comments.

================
Comment at: src/UnwindCursor.hpp:53
                                                unw_word_t fde, unw_word_t mh));
+  static void iterateSections(std::function<void (pint_t section)> func);
 
----------------
I'm concerned that std::function might introduce runtime dependencies from 
libc++abi back to libc++. I think we get away with the <algorithm> include 
above because it's templated for the most part. Since this stuff is all 
in-header anyway, we could just take a non-type template parameter callable and 
call it directly.


Repository:
  rUNW libunwind

https://reviews.llvm.org/D44494



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to