[all-commits] [llvm/llvm-project] 6f46ff: [test] Make Linux/sem_init_glibc.cpp robust

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Oct 2 00:47:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f46ff3765dcdc178b9cf52ebd8c03437806798a
      https://github.com/llvm/llvm-project/commit/6f46ff3765dcdc178b9cf52ebd8c03437806798a
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-10-02 (Sun, 02 Oct 2022)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
    M compiler-rt/test/sanitizer_common/TestCases/Linux/sem_init_glibc.cpp

  Log Message:
  -----------
  [test] Make Linux/sem_init_glibc.cpp robust

and fix it for 32-bit ports defining sem_init at GLIBC_2.0 (i386, mips32, powerpc32) for glibc>=2.36.

Fix https://github.com/llvm/llvm-project/issues/58079

Reviewed By: mgorny

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




More information about the All-commits mailing list