HomeFreeBSD

llvm BPF target: add missed source files

Description

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

Details

Provenance
dimAuthored on Nov 2 2021, 4:49 PM
Parents
rG2390a1441eff: LinuxKPI: Add sysctl(8) knob to control verbosity of WARN_ON's.
Branches
Unknown
Tags
Unknown