[all-commits] [llvm/llvm-project] bca47e: [LLVM][SupportTests] Ask the OS how large the page...

Michael Spencer via All-commits all-commits at lists.llvm.org
Wed Apr 15 15:13:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bca47ef80e3ec61e5e83bb6d755eee68d4b8f925
      https://github.com/llvm/llvm-project/commit/bca47ef80e3ec61e5e83bb6d755eee68d4b8f925
  Author: Michael Spencer <bigcheesegs at gmail.com>
  Date:   2020-04-15 (Wed, 15 Apr 2020)

  Changed paths:
    M llvm/unittests/Support/MemoryBufferTest.cpp

  Log Message:
  -----------
  [LLVM][SupportTests] Ask the OS how large the page size is instead of guessing.

PPC64 had a larger than expected page size. Instead of guessing just
use the same API that `MemoryBuffer` does to determine the page size.




More information about the All-commits mailing list