[compiler-rt] Link shared sanitizer runtime with libresolv for dn_expand (PR #116415)

Aaron Puchert via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 19 06:51:44 PST 2024


aaronpuchert 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.

https://github.com/llvm/llvm-project/pull/116415


More information about the llvm-commits mailing list