Update GET_LINK_MAP_BY_DLOPEN_HANDLE() for NetBSD x86
authorKamil Rytarowski <n54@gmx.com>
Wed, 5 Dec 2018 03:17:21 +0000 (03:17 +0000)
committerKamil Rytarowski <n54@gmx.com>
Wed, 5 Dec 2018 03:17:21 +0000 (03:17 +0000)
commitb9601a385afe20ffacf23a15baf6be5aeb549684
treeb37fae485b26549e92dd85f70173213067187cae
parentd499725b8ffa4826e1fb4f7d2a87f5bcf1540229
Update GET_LINK_MAP_BY_DLOPEN_HANDLE() for NetBSD x86

NetBSD 8.99.26 changed the layout of internal structure
returned by dlopen(3), switch to it.

Set new values for amd64 and i386 based on the results
of &((struct Struct_Obj_Entry*)0)->linkmap.

llvm-svn: 348329
compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.h