xref: /llvm-project/utils/bazel/llvm-project-overlay/libunwind/BUILD.bazel (revision 69778121e4a66856985bfc2ff875a864b41ee592)
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-exception
4
5package(
6    default_visibility = ["//visibility:public"],
7)
8
9licenses(["notice"])
10
11# The ld64 linker and lld-macho use the libunwind headers only for the constant
12# definitions, in order to parse and convert DWARF to the compact encoding.
13cc_library(
14    name = "unwind_headers_only",
15    hdrs = [
16        "include/__libunwind_config.h",
17        "include/libunwind.h",
18        "include/mach-o/compact_unwind_encoding.h",
19    ],
20    strip_include_prefix = "include",
21)
22