[PATCH] Call real pthread_attr_getstack instead of the interceptor
Alexey Samsonov
samsonov at google.com
Thu Nov 21 02:51:05 PST 2013
================
Comment at: lib/sanitizer_common/sanitizer_linux_libcdep.cc:41
@@ -37,1 +40,3 @@
+static int my_pthread_attr_getstack(pthread_attr_t *attr, void **addr,
+ size_t *size) {
----------------
What's wrong with including interception headers here?
We can #include "interception/interception.h" and check REAL(pthread_attr_getstack) for null.
http://llvm-reviews.chandlerc.com/D2237
More information about the llvm-commits
mailing list