| 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 |
package( |
| 6 |
default_visibility = ["//visibility:public"], |
| 7 |
) |
| 8 |
|
| 9 |
licenses(["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. |
| 13 |
cc_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 |
) |