[PATCH] D14656: [sanitizer] Stop unwinding the stack when a close-to-zero PC is found

Alexander Potapenko via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 13 07:16:30 PST 2015


glider accepted this revision.
glider added a comment.
This revision is now accepted and ready to land.

Makes sense, LGTM


================
Comment at: lib/sanitizer_common/sanitizer_stacktrace.h:21
@@ -20,2 +20,3 @@
 static const u32 kStackTraceMax = 256;
+static const uptr kMinStackFramePcValue = 0x1000;
 
----------------
OOC, have you seen values other than 0x0 for the bottom frame?


http://reviews.llvm.org/D14656





More information about the llvm-commits mailing list