[PATCH] D67329: Add getauxval() compat for NetBSD

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 12 11:36:22 PDT 2019


krytarowski marked an inline comment as done.
krytarowski added inline comments.


================
Comment at: lib/sanitizer_common/sanitizer_linux.cpp:1073
   return (uptr)pz;
+#elif SANITIZER_USE_GETAUXVAL
+  return getauxval(AT_PAGESZ);
----------------
vitalybuka wrote:
> now we can't get to SANITIZER_USE_GETAUXVAL for SANITIZER_NETBSD
sysctl returns the same value and it does not make difference. I want to keep it closer to No-Functional-Change here.

SANITIZER_USE_GETAUXVAL is wanted in LSan to get AT_BASE.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67329/new/

https://reviews.llvm.org/D67329





More information about the llvm-commits mailing list