Debian Codegraph @

utils/bazel/llvm-project-overlay/libunwind/BUILD.bazel

raw
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
5 load("@rules_cc//cc:defs.bzl", "cc_library")
6
7 package(
8 default_visibility = ["//visibility:public"],
9 )
10
11 licenses(["notice"])
12
13 # The ld64 linker and lld-macho use the libunwind headers only for the constant
14 # definitions, in order to parse and convert DWARF to the compact encoding.
15 cc_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 )