[compiler-rt] Link shared sanitizer runtime with libresolv for dn_expand (PR #116415)
Aaron Puchert via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 16 06:17:32 PST 2024
aaronpuchert wrote:
I based it on this:
```
$ for lib in *.so; do echo $lib; readelf --dyn-syms --wide $lib | grep dn_comp; done
libclang_rt.asan-x86_64.so
1069: 000000000009b880 1263 FUNC WEAK DEFAULT 13 __interceptor_dn_comp
1260: 000000000009b880 1263 FUNC GLOBAL DEFAULT 13 ___interceptor_dn_comp
1705: 0000000000082fec 5 FUNC GLOBAL DEFAULT 13 __interceptor_trampoline_dn_comp
2138: 0000000000082fec 5 FUNC WEAK DEFAULT 13 dn_comp
libclang_rt.dyndd-x86_64.so
libclang_rt.hwasan_aliases-x86_64.so
libclang_rt.hwasan-x86_64.so
libclang_rt.memprof-x86_64.so
978: 0000000000069b10 203 FUNC WEAK DEFAULT 13 __interceptor_dn_comp
1149: 0000000000069b10 203 FUNC GLOBAL DEFAULT 13 ___interceptor_dn_comp
1551: 0000000000061e98 5 FUNC GLOBAL DEFAULT 13 __interceptor_trampoline_dn_comp
1938: 0000000000061e98 5 FUNC WEAK DEFAULT 13 dn_comp
libclang_rt.nsan-x86_64.so
libclang_rt.scudo_standalone-x86_64.so
libclang_rt.tsan-x86_64.so
1147: 000000000008e7f0 518 FUNC WEAK DEFAULT 13 __interceptor_dn_comp
1350: 000000000008e7f0 518 FUNC GLOBAL DEFAULT 13 ___interceptor_dn_comp
1844: 0000000000070935 5 FUNC GLOBAL DEFAULT 13 __interceptor_trampoline_dn_comp
2318: 0000000000070935 5 FUNC WEAK DEFAULT 13 dn_comp
libclang_rt.ubsan_minimal-x86_64.so
libclang_rt.ubsan_standalone-x86_64.so
```
But this might be due to my build settings.
https://github.com/llvm/llvm-project/pull/116415
More information about the llvm-commits
mailing list