| # Copyright 2026 The IREE Authors |
| # |
| # Licensed under the Apache License v2.0 with LLVM Exceptions. |
| # See https://llvm.org/LICENSE.txt for license information. |
| # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| |
| # Doug Lea's malloc (dlmalloc) v2.8.6, MIT-0 license. |
| # https://gee.cs.oswego.edu/dl/html/malloc.html |
| # |
| # The upstream source (malloc.c) is compiled via a configuration wrapper |
| # that sets the appropriate #defines before #including it as a textual header. |
| |
| package(default_visibility = ["//visibility:public"]) |
| |
| cc_library( |
| name = "dlmalloc", |
| textual_hdrs = ["malloc.c"], |
| ) |