[PATCH] D19227: [msan] Don't hardcode 4kiB page size in msan_test.cc.

Evgeniy Stepanov via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 20 13:29:50 PDT 2016


eugenis added a comment.

Unfortunately, this fails if this code is built as a shared library.
__sanitizer::* symbols are not exported by MSan.
It looks like sysconf(_SC_PAGESIZE) should work on all supported platforms. I'll make the change.


Repository:
  rL LLVM

http://reviews.llvm.org/D19227





More information about the llvm-commits mailing list