[PATCH] D43080: Adding Msan support to FreeBSD
Dimitry Andric via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 10 10:55:31 PST 2018
dim added inline comments.
================
Comment at: lib/sanitizer_common/sanitizer_platform_limits_posix.h:27
# define GET_LINK_MAP_BY_DLOPEN_HANDLE(handle) \
- ((link_map*)((handle) == nullptr ? nullptr : ((char*)(handle) + 544)))
+ ((link_map*)((handle) == nullptr ? nullptr : ((char*)(handle) + 560)))
// Get sys/_types.h, because that tells us whether 64-bit inodes are
----------------
Hmm, where does this magic number come from? I hope this isn't system version dependent...
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D43080
More information about the llvm-commits
mailing list