1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-05 09:14:03 +00:00
freebsd/lib/clang
Dimitry Andric d30dc78f79 llvm BPF target: add missed source files
Otherwise, linking llvm binaries with this target enabled (which is not
the default) will fail with a number of undefined symbol errors:

  ld: error: undefined symbol: llvm::initializeBPFAdjustOptPass(llvm::PassRegistry&)
  ld: error: undefined symbol: llvm::initializeBPFCheckAndAdjustIRPass(llvm::PassRegistry&)
  ld: error: undefined symbol: llvm::createBPFCheckAndAdjustIR()
  ld: error: undefined symbol: llvm::createBPFAdjustOpt()
  ld: error: undefined symbol: llvm::BPFAdjustOptPass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)

Reported by:	Michael Dexter <editor@callfortesting.org>
MFC after:	3 days
2021-11-02 17:49:50 +01:00
..
headers Merge llvm-project 12.0.1 rc2 2021-06-19 20:09:28 +02:00
include Follow-up to d69d07569e by bumping lld local version 2021-08-07 19:14:31 +02:00
libclang Merge llvm-project main llvmorg-12-init-17869-g8e464dd76bef 2021-06-13 21:37:19 +02:00
liblldb Merge llvm-project 12.0.0 release 2021-06-13 22:01:15 +02:00
libllvm llvm BPF target: add missed source files 2021-11-02 17:49:50 +01:00
libllvmminimal Merge llvm-project main llvmorg-12-init-17869-g8e464dd76bef 2021-06-13 21:37:19 +02:00
clang.build.mk clang: Build with -fno-strict-aliasing when using GCC 2021-08-24 15:04:25 +01:00
clang.pre.mk Move all sources from the llvm project into contrib/llvm-project. 2019-12-20 19:53:05 +00:00
freebsd_cc_version.h Merge llvm-project main llvmorg-12-init-17869-g8e464dd76bef 2021-06-13 21:37:19 +02:00
lldb.pre.mk Move all sources from the llvm project into contrib/llvm-project. 2019-12-20 19:53:05 +00:00
llvm.build.mk clang: Fix inverted condition in llvm.build.mk 2021-08-12 23:53:30 +01:00
llvm.pre.mk Move all sources from the llvm project into contrib/llvm-project. 2019-12-20 19:53:05 +00:00
Makefile Add WITH_LLVM_BINUTILS to install LLVM binutils instead of Elftoolchain 2021-09-06 09:49:49 +01:00
Makefile.inc build: provide a default WARNS for all in-tree builds 2020-09-18 17:17:46 +00:00