[all-commits] [llvm/llvm-project] 9e7fdc: [MCJIT] Mark test-global-ctors as UNSUPPORTED on D...

lhames via All-commits all-commits at lists.llvm.org
Tue Sep 28 10:44:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e7fdcbafed90e8946ecd4d8b118786b12905595
      https://github.com/llvm/llvm-project/commit/9e7fdcbafed90e8946ecd4d8b118786b12905595
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-09-28 (Tue, 28 Sep 2021)

  Changed paths:
    M llvm/test/ExecutionEngine/MCJIT/test-global-ctors.ll

  Log Message:
  -----------
  [MCJIT] Mark test-global-ctors as UNSUPPORTED on Darwin, rather than XFAIL.

MachO doesn't have a '.text.startup' -- this is just plain unsupported.


  Commit: ab5e6e7434ebc67e89332d4401926978c8fb143b
      https://github.com/llvm/llvm-project/commit/ab5e6e7434ebc67e89332d4401926978c8fb143b
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-09-28 (Tue, 28 Sep 2021)

  Changed paths:
    M llvm/tools/llvm-jitlink/llvm-jitlink.cpp

  Log Message:
  -----------
  [llvm-jitlink] Add a -slab-page-size option to override process page size.

The slab allocator is frequently used in -noexec tests where we want a
consistent memory layout. In this context we also want to set the effective
page size, rather than using the page size of the host process, since not all
systems use the same page size. The -slab-page-size option allows us to set
the page size for such tests.

The -slab-page-size option will also be honored in exec mode when using the
slab allocator, but will trigger an error if the requested size is not a
multiple of the actual process page size.

This option was motivated by test failures on a ppc64 bot that was returning
zero from sys::Process::getPageSize(), so it also contains a check for errors
and zero results from that function if the -slab-page-size option is absent.

Existing slab allocator tests will be updated to use this option in a follow-up
commit so that we can point the failing bot at this commit and observe errors
associated with sys::Process::getPageSize().


Compare: https://github.com/llvm/llvm-project/compare/43c543aab7e3...ab5e6e7434eb


More information about the All-commits mailing list