Reorganize libclang_rt Makefile and make more lib/arch combos available
authorDimitry Andric <dim@FreeBSD.org>
Thu, 28 Dec 2023 12:57:41 +0000 (13:57 +0100)
committerDimitry Andric <dim@FreeBSD.org>
Thu, 28 Dec 2023 12:57:41 +0000 (13:57 +0100)
commite77a1bb2757471ab3fed0750b76eeb15d0c7b10a
tree4b840d853f697e42843eba4ef0b1b77362455506
parent789480702e490818244af11279868ba4f3dabe6b
Reorganize libclang_rt Makefile and make more lib/arch combos available

Upstream has made more clang runtime libraries available for more
architectures, so add them. To make this easier, split up subdir lists
into functional parts (asan, tsan, etc), and put each architecture into
its own .if block.

Effectively, this adds the following libraries for aarch64: asan, cfi,
fuzzer, msan, safestack, stats, tsan, ubsan, xray.

PR: 262706
MFC after: 3 days
lib/libclang_rt/Makefile