[all-commits] [llvm/llvm-project] 8ef285: [NFC][sanitizer] Commit test for #106912 (#108289)

Arthur Eubanks via All-commits all-commits at lists.llvm.org
Mon Jan 13 02:53:36 PST 2025


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ef2858421dbea9d80ce62679bc7095f6d76898a
      https://github.com/llvm/llvm-project/commit/8ef2858421dbea9d80ce62679bc7095f6d76898a
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2025-01-13 (Mon, 13 Jan 2025)

  Changed paths:
    A compiler-rt/test/sanitizer_common/TestCases/dlsym_alloc.c

  Log Message:
  -----------
  [NFC][sanitizer] Commit test for #106912 (#108289)

Almost all sanitizers already support the test.
* Tsan does not use DlsymAlloc yet.
* Lsan will support with #106912.

memprof,rtsan,nsan are not tested as part of
sanitizer_common, but we should keep them here to
show up when it happen.

---------

Co-authored-by: Xiaofeng Tian <110771974+txff99 at users.noreply.github.com>
(cherry picked from commit 1797174ea6adab08474658f9c9748991d172321c)


  Commit: 2e10af6e59258da02167fc66e5e6ecd0549da62a
      https://github.com/llvm/llvm-project/commit/2e10af6e59258da02167fc66e5e6ecd0549da62a
  Author: tmiasko <tomasz.miasko at gmail.com>
  Date:   2025-01-13 (Mon, 13 Jan 2025)

  Changed paths:
    M compiler-rt/lib/lsan/lsan_interceptors.cpp
    M compiler-rt/test/sanitizer_common/TestCases/dlsym_alloc.c

  Log Message:
  -----------
  [lsan] Fix free(NULL) interception during initialization (#106912)

Previously an attempt to free a null pointer during initialization would
fail on ENSURE_LSAN_INITED assertion (since a null pointer is not owned
by DlsymAlloc).

(cherry picked from commit ae0ed3d58600da9ec266bf86d0084775f561ba3a)


  Commit: 07b4f631ee430337f1534f76c7102359c024212a
      https://github.com/llvm/llvm-project/commit/07b4f631ee430337f1534f76c7102359c024212a
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2025-01-13 (Mon, 13 Jan 2025)

  Changed paths:
    M compiler-rt/test/sanitizer_common/TestCases/dlsym_alloc.c

  Log Message:
  -----------
  [test][compiler-rt] Mark dlsym_alloc.c as unsupported on macos (#108439)

With #106912, the test now fails on macos, e.g.

https://green.lab.llvm.org/job/llvm.org/job/clang-stage1-RA/2058/.
(cherry picked from commit d9ed8b018df725faec4076a3efdfcbd7a24c99f0)


Compare: https://github.com/llvm/llvm-project/compare/be46324c97a2...07b4f631ee43

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list