[all-commits] [llvm/llvm-project] 71a91c: [tsan] Use DlSymAllocator (#108920)

Vitaly Buka via All-commits all-commits at lists.llvm.org
Tue Sep 17 11:06:48 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 71a91c1194229382e4bc79bc52aeec44efa0c33e
      https://github.com/llvm/llvm-project/commit/71a91c1194229382e4bc79bc52aeec44efa0c33e
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
    M compiler-rt/test/sanitizer_common/TestCases/dlsym_alloc.c

  Log Message:
  -----------
  [tsan] Use DlSymAllocator (#108920)

`DlSymAllocator` allows early allocations, when
tsan is not yet initialized, e.g. from `dlsym`.

All other sanitizers with interceptors already use
`DlSymAllocator`.

Existing `in_symbolizer()` tsan logic is very similar.
However, we need to keep both as `DlSymAllocator`
does not support large allocations, needed for Symolizer.



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