[PATCH] D65221: [Sanitizer][ASAN][MSAN] Fix infinite recursion on FreeBSD
David CARLIER via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 26 02:16:59 PDT 2019
devnexen added inline comments.
================
Comment at: compiler-rt/lib/sanitizer_common/sanitizer_linux.cc:788
+ if (!real_sysctlbyname)
+ real_sysctlbyname = (syctlbyname_ptr)dlfunc(RTLD_DEFAULT, "sysctlbyname");
+ CHECK(real_sysctlbyname);
----------------
MaskRay wrote:
> When is `dlfunc(RTLD_DEFAULT, "sysctlbyname")` used?
I wonder the same do you have a situation when it occurs ?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65221/new/
https://reviews.llvm.org/D65221
More information about the llvm-commits
mailing list