[PATCH] D23589: Fix hang caused by memory corruption caused by insufficient alternate stack space for signal handlers.

bryant via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 22 15:57:20 PDT 2016


bryant added a comment.

I don't know of any technique to measure max stack usage outside of breaking on writes to $rsp in gdb, or binary searching for the value of `AltStackSize` that causes a hang. Both are terrible for large programs. If you or anyone else have suggestions to do this, I'd love to hear them.


Repository:
  rL LLVM

https://reviews.llvm.org/D23589





More information about the llvm-commits mailing list