[all-commits] [llvm/llvm-project] 2c3eb8: [nsan] Remove mallopt from nsan_interceptors (#101...

Daniel Martinez via All-commits all-commits at lists.llvm.org
Mon Jul 29 15:20:40 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c3eb8db057b9d58acd4735999f0f5d5d8d55b0d
      https://github.com/llvm/llvm-project/commit/2c3eb8db057b9d58acd4735999f0f5d5d8d55b0d
  Author: Daniel Martinez <danielpedromartinez at duck.com>
  Date:   2024-07-29 (Mon, 29 Jul 2024)

  Changed paths:
    M compiler-rt/lib/nsan/nsan_interceptors.cpp

  Log Message:
  -----------
  [nsan] Remove mallopt from nsan_interceptors (#101055)

Fixes a build failure on 19.1.0-rc1 when building on linux with musl as
the libc

musl does not provide mallopt, whereas glibc does. mallopt has
portability issues with other libc implementations. Just remove the use.

Co-authored-by: Daniel Martinez <danielmartinez at cock.li>



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