[all-commits] [llvm/llvm-project] 5f423b: [llvm-exegesis] Adjust page size in unit tests to ...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Fri Dec 15 13:11:33 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f423b7d1cb3474168d79827d2305b137be7160b
      https://github.com/llvm/llvm-project/commit/5f423b7d1cb3474168d79827d2305b137be7160b
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2023-12-15 (Fri, 15 Dec 2023)

  Changed paths:
    M llvm/unittests/tools/llvm-exegesis/X86/SnippetFileTest.cpp

  Log Message:
  -----------
  [llvm-exegesis] Adjust page size in unit tests to fix ppc failures

The llvm-exegesis unit tests currently fail on PPC after
ceb196d9903f4db7250bbc6c8da13eeae1b85886 landed as the default page size
on most common linux distributions for PPC is 64kb rather than 4kb. This
patch changes the memory mappings to have addresses as multiples of 64kb
rather than multiples of 4kb to fix this issue.




More information about the All-commits mailing list