[PATCH] Test failures in GCC ASan testsuite on ARM Linux due to FP format mismatch between libsanitizer and GCC.

Yury Gribov tetra2005 at gmail.com
Wed Aug 6 07:34:12 PDT 2014


================
Comment at: lib/sanitizer_common/sanitizer_stacktrace.cc:41
@@ +40,3 @@
+static inline bool IsValidFrame(uptr frame, uptr stack_top, uptr stack_bottom) {
+  return frame > stack_bottom && frame < stack_top - 2;
+}
----------------
Should this be 2 * sizeof(uhwptr)?

http://reviews.llvm.org/D4692






More information about the llvm-commits mailing list