24 lines · plain
1# This file is licensed under the Apache License v2.0 with LLVM Exceptions.2# See https://llvm.org/LICENSE.txt for license information.3# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception4 5load("@rules_cc//cc:defs.bzl", "cc_library")6 7package(8 default_visibility = ["//visibility:public"],9)10 11licenses(["notice"])12 13# The ld64 linker and lld-macho use the libunwind headers only for the constant14# definitions, in order to parse and convert DWARF to the compact encoding.15cc_library(16 name = "unwind_headers_only",17 hdrs = [18 "include/__libunwind_config.h",19 "include/libunwind.h",20 "include/mach-o/compact_unwind_encoding.h",21 ],22 strip_include_prefix = "include",23)24