[all-commits] [llvm/llvm-project] baa148: [fuzzer] Don't hard-code page size in FuzzerUtil.h

Ami-zhang via All-commits all-commits at lists.llvm.org
Thu May 25 20:24:44 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: baa1488c169391deb6cc7d6a29ba7f40d0a2086f
      https://github.com/llvm/llvm-project/commit/baa1488c169391deb6cc7d6a29ba7f40d0a2086f
  Author: zhanglimin <zhanglimin at loongson.cn>
  Date:   2023-05-25 (Thu, 25 May 2023)

  Changed paths:
    M compiler-rt/lib/fuzzer/FuzzerUtil.cpp
    M compiler-rt/lib/fuzzer/FuzzerUtil.h

  Log Message:
  -----------
  [fuzzer] Don't hard-code page size in FuzzerUtil.h

Don't hard code the page in FuzzerUtil.h, this breaks on
e.g. LoongArch which defaults to a 16KiB page size.

Reviewed By: #sanitizers, vitalybuka

Differential Revision: https://reviews.llvm.org/D140607




More information about the All-commits mailing list