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

Daniel Martinez via All-commits all-commits at lists.llvm.org
Mon Jul 29 23:37:50 PDT 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 404746b9f21bef631eac09469bfcc35e8cfe0e63
      https://github.com/llvm/llvm-project/commit/404746b9f21bef631eac09469bfcc35e8cfe0e63
  Author: Daniel Martinez <danielpedromartinez at duck.com>
  Date:   2024-07-30 (Tue, 30 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>
(cherry picked from commit 2c3eb8db057b9d58acd4735999f0f5d5d8d55b0d)



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