Allow bootstrapping llvm-tblgen on macOS and Linux
authorAlex Richardson <arichardson@FreeBSD.org>
Mon, 2 Aug 2021 13:36:03 +0000 (14:36 +0100)
committerAlex Richardson <arichardson@FreeBSD.org>
Mon, 2 Aug 2021 13:36:03 +0000 (14:36 +0100)
commit31ba4ce8898f9dfa5e7f054fdbc26e50a599a6e3
treeb9895127e861448a23a51c15aba851acf5a216dc
parent2de949cf85d0e0b9ff71e1ffd74153814de96175
Allow bootstrapping llvm-tblgen on macOS and Linux

This is needed in order to build various LLVM binutils (e.g. addr2line)
as well as clang/lld/lldb.

Co-authored-by: Jessica Clarke <jrtc27@FreeBSD.org>
Test Plan: Compiles on ubuntu 18.04 and macOS 11.4
Reviewed By: dim
Differential Revision: https://reviews.freebsd.org/D31057
contrib/llvm-project/lld/tools/lld/lld.cpp
lib/clang/include/llvm/Config/config.h
lib/clang/libllvm/Makefile
lib/clang/llvm.build.mk
share/mk/src.opts.mk
tools/build/cross-build/include/common/sys/sysctl.h
tools/build/make.py
usr.bin/clang/clang.prog.mk
usr.bin/clang/lld/Makefile
usr.bin/clang/llvm.prog.mk