Hi everyone,

what is the reason for interceptors to *not* include system headers like 
pthread.h and time.h, and instead declare all the structures like 
“__sanitizer_tm” or “__sanitizer_pthread_attr_t”?  Why don’t we just 
include the system headers and use pthread_attr_t directly?

I’m asking because I’m trying to make a build configured with modules 
(LLVM_ENABLE_MODULES=1) work.  When modules are used, external functions 
must come from system headers and the declarations must match.

Thanks,
Kuba

-- 
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to