[compiler-rt] Link shared sanitizer runtime with libresolv for dn_expand (PR #116415)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 5 12:31:09 PST 2024
vitalybuka wrote:
> The interceptors are definitely tailored towards MSan, where they're necessary to address false positives. They don't even check for reads, just register the writes. But I'm not sure where to disable it. HWASan has [hwasan_platform_interceptors.h](https://github.com/llvm/llvm-project/blob/main/compiler-rt/lib/hwasan/hwasan_platform_interceptors.h), where lots of interceptors are disabled, but I can't find an equivalent place for ASan.
>
> The additional link dependency might also be temporary: my impression is that glibc [wants to integrate](https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html) [all sublibraries](https://developers.redhat.com/articles/2021/12/17/why-glibc-234-removed-libpthread) into the main library.
They need to be moved from sanitizer_common into msan_iterceptors
https://github.com/llvm/llvm-project/pull/116415
More information about the llvm-commits
mailing list