[PATCH] Call real pthread_attr_getstack instead of the interceptor

Alexey Samsonov samsonov at google.com
Thu Nov 21 05:44:53 PST 2013


... and making sanitizer_common depend on interception will make things
ugly. We can't simply refer to REAL(foo) from sanitizer_common, as specific
tool has to define REAL(foo) function pointer :(
Make sure your patch works fine on Mac and Windows - weak functions are not
perfectly portable.


On Thu, Nov 21, 2013 at 3:16 PM, Alexey Samsonov <samsonov at google.com>wrote:

>
> On Thu, Nov 21, 2013 at 2:58 PM, Kostya Serebryany <kcc at google.com> wrote:
>
>>
>>   You can't include interception/interception.h into sanitizer_common
>> files, I tried.
>>   That may work too if we change both build systems to allow that.
>>
>
> I think if we decide to go that path and commit this patch, it's worth
> specifying that
> sanitizer_common depends on interception (allow to include interception
> headers, etc.)
>
>
>>
>> http://llvm-reviews.chandlerc.com/D2237
>>
>
>
>
> --
> Alexey Samsonov, MSK
>



-- 
Alexey Samsonov, MSK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131121/cc790506/attachment.html>


More information about the llvm-commits mailing list