mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-05 09:14:03 +00:00
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
This commit is contained in:
parent
2390a1441e
commit
d30dc78f79
@ -1163,7 +1163,9 @@ SRCS_MIN+= Target/ARM/Utils/ARMBaseInfo.cpp
|
||||
.if ${MK_LLVM_TARGET_BPF} != "no"
|
||||
SRCS_MIN+= Target/BPF/AsmParser/BPFAsmParser.cpp
|
||||
SRCS_MIN+= Target/BPF/BPFAbstractMemberAccess.cpp
|
||||
SRCS_MIN+= Target/BPF/BPFAdjustOpt.cpp
|
||||
SRCS_MIN+= Target/BPF/BPFAsmPrinter.cpp
|
||||
SRCS_MIN+= Target/BPF/BPFCheckAndAdjustIR.cpp
|
||||
SRCS_MIN+= Target/BPF/BPFFrameLowering.cpp
|
||||
SRCS_MIN+= Target/BPF/BPFISelDAGToDAG.cpp
|
||||
SRCS_MIN+= Target/BPF/BPFISelLowering.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user